+ 2
What is the importance of documentation comment in java
I don't understand what is the difference between the documentation comment and the multi line comment
3 Réponses
+ 5
They’re generally good for keeping track of a complex program.
I found this out the hard way: I wrote a multi-thousand line program with no documentation and came back to it a few months later, I had no idea what half of my code was responsible for. It took me hours to get the gist of it whereas a couple of single-line comments would have saved me all that time.
+ 3
Also helps others understand your code.
+ 1
I mean what is the difference between the documentation comment and the multi line comment