What is the use of documentation comment?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the use of documentation comment??

6th Dec 2017, 3:59 PM
Sabiya Tabassum
Sabiya Tabassum - avatar
3 Answers
+ 3
JAVADOC allows you to easily create documentation while you're programming. You get the benefit of your comments in your code, and you get the benefit of being able to generate an HTML via JAVADOC that has all of the comments you created for your methods, classes, etc.. It's very useful and something I recommend learning to use. It's one of those "two birds with one stone" type of things.
6th Dec 2017, 4:03 PM
AgentSmith
+ 1
to remind you of what you are doing just like writing an pseudo algorithm
17th Jan 2018, 7:59 AM
Adeyemi emmanuel
Adeyemi emmanuel - avatar
0
Or what you did when you finish the code.
6th Feb 2018, 7:19 PM
帆萌萌