+ 1
What's the difference between comments and documentation comment?
2 ответов
+ 1
I don't understand this. please how do they differ in the code? do they appear different after compiling? or do they do the same thing?
- 1
Normal code comments used in java looks something like this:
// To comment a single line of code
/* To comment multiple lines of code
*/
whereas, Java documentation comments be like:
/** This is a Java documentation comment */