what a documentation comment actually does?. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what a documentation comment actually does?.

14th Aug 2016, 7:26 AM
Gowtham krvz kv
Gowtham krvz kv - avatar
4 Answers
+ 3
A documentation comment is referred to as a "Javadoc" and their purpose is to explain what something does. It will usually give a description of a method and what it does, it explains what each of the parameters mean as well as the return type. IDEs will display Javadoc information to developers. They simply provide an explanation.
14th Aug 2016, 8:10 AM
Parker
Parker - avatar
+ 2
After creating an instance of a class, if you want to know what that class do actually, then instead of opening the source code, you can check that in your IDE provided that you write a documentation comment. This can be viewed in a Javadoc file
6th Feb 2017, 2:57 AM
Kommoju Sunil Kumar
Kommoju Sunil Kumar - avatar
0
Do they provide explanation at run time?
14th Aug 2016, 8:18 AM
Gowtham krvz kv
Gowtham krvz kv - avatar
0
no thats not read out by the compiler so can can't available at runtime
28th Aug 2016, 10:33 AM
Shubham Priyesh
Shubham Priyesh - avatar