Expand comment types in Java (#20409)

Clarify the difference between those 3 types of comments since it might be odd for someone new.
This commit is contained in:
Fategas
2018-11-02 01:12:02 +00:00
committed by Ian Duke
parent 78c8374357
commit 0ec3c322a4

View File

@ -58,6 +58,7 @@ public class RandomNumbers{
} }
``` ```
The difference between the documentation comment and the multi & single line comments is that the former is oriented about making your comments visible to anyone viewing the documentation, while the multi and single line comments are the ones that are supposed to mainly keep you on track.
#### More Information: #### More Information:
* [Java Resources](http://guide.freecodecamp.org/java/resources/) * [Java Resources](http://guide.freecodecamp.org/java/resources/)