what is the difference of multiline and documentation? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is the difference of multiline and documentation?

10th Aug 2016, 1:54 AM
Abirohman
Abirohman - avatar
3 Answers
+ 1
Multi-line comments are collectively called implementation comments, while Javadoc comments are called documentation comments. Implementation comments are used for internal documentation. To internally document a program non-executable human-readable implementation comments are inserted. These comments should be used to give overviews of code and provide additional information that is not readily available in the code itself. On the other hand Javadoc comments too inserted into the source code but they are read by a special javadoc tool in order to generate source code documentation.
10th Aug 2016, 2:58 AM
Adityanarayan Tiwari
Adityanarayan Tiwari - avatar
0
Java multi-line or traditional comments (/*...*/) Javadoc or Java documentation comments (/**...*/)
10th Aug 2016, 2:16 AM
Adityanarayan Tiwari
Adityanarayan Tiwari - avatar
0
what if we run the program? will we find any difference ?
10th Aug 2016, 2:20 AM
Abirohman
Abirohman - avatar