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

documentation comments in java

on Java documentation comments differ from block comments in that the documentation comments generate external documentation on the source code, so I didn't get the type of documentations they generate. Is there anyone who wants to explain this for me please?

28th Oct 2019, 7:20 AM
Dawit Gadisa
Dawit Gadisa - avatar
3 Answers
+ 2
Not my answer, but I'm also interested in javadocs, so sharing the below, which I swiped from Stackoverflow discussion re: same question The page How to Write Doc Coments for the Javadoc Tool contains a good number of good examples. https://www.oracle.com/technetwork/java/javase/documentation/index-137868.html One section is called Examples of Doc Comments and contains quite a few usages. https://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#examples Also, the Javadoc FAQ contains some more examples to illustrate the answers. https://www.oracle.com/technetwork/java/javase/documentation/index-137483.html
28th Oct 2019, 7:29 AM
will
will - avatar
+ 2
Please remove that link from Relevant Tags. The thread has nothing in relation with your question (it's about Python). Rather tag 'JavaDocs', more closely related contextually. Besides, if you have links to include with a question, you should put the links in the Description section, not in question title nor the Relevant Tags (links don't work in title nor tags). Follow this tips for future reference, about posting a question 👍 https://www.sololearn.com/Discuss/333866/?ref=app
28th Oct 2019, 7:57 AM
Ipang