What's the difference between Java documents comment and other two Comments | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the difference between Java documents comment and other two Comments

28th Nov 2016, 4:07 PM
Jyoti Singh
Jyoti Singh - avatar
3 Answers
+ 1
The JDK javadoc uses doc comments when preparing automatically generated documentation. // and /* are single and multiple line comments and just that.
28th Nov 2016, 10:58 PM
Felipe Cruz
Felipe Cruz - avatar
0
//👈 single line. 👉/** Multiple Line
21st Dec 2016, 5:50 AM
Eremie Gillowei
Eremie Gillowei - avatar
0
//single line comment /* multiple line comment/ /** doc comment, also multiple line */
21st Dec 2016, 3:03 PM
Felipe Cruz
Felipe Cruz - avatar