0
I really dont get java documentation comments
6 odpowiedzi
+ 2
What documentation?
+ 2
java documentation
+ 2
https://www.sololearn.com/learn/Java/2138/?ref=app
In the comment section , you can read the explainations
+ 2
iniubong Obonguko
single line: // you can use them to explain your code
multiline:
/*
*/
I use them at the beginning of my code to input some dates about my program (author, date, name of progr., some explanation)
And the java doc comments are used if you want to create a java documentation. With JavaDoc ( https://en.m.wikipedia.org/wiki/Javadoc) you can generate a html-website from these comments. (I never tried it)
0
how does it differ from block or multi line comments?