I really dont get java documentation comments | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I really dont get java documentation comments

16th Feb 2019, 12:35 PM
iniubong Obonguko
iniubong Obonguko - avatar
6 Answers
+ 2
What documentation?
16th Feb 2019, 1:09 PM
HonFu
HonFu - avatar
+ 2
java documentation
16th Feb 2019, 1:26 PM
iniubong Obonguko
iniubong Obonguko - avatar
+ 2
https://www.sololearn.com/learn/Java/2138/?ref=app In the comment section , you can read the explainations
16th Feb 2019, 1:29 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 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)
16th Feb 2019, 9:46 PM
Denise Roßberg
Denise Roßberg - avatar
0
how does it differ from block or multi line comments?
16th Feb 2019, 1:33 PM
iniubong Obonguko
iniubong Obonguko - avatar
16th Feb 2019, 9:50 PM
Denise Roßberg
Denise Roßberg - avatar