Agile and Scrum Interview Questions and Answers
The Java language supports three types of comments:-
|/* text */||The compiler ignores everything from /* to */.|
|// text||The compiler ignores everything from // to the end of the line.|
|/** documentation */||This is a documentation comment and in general its called doc comment. The JDK javadoc tool uses doc comments when preparing automatically generated documentation.|
This tutorial is all about explaining Java doc. We will see how we can make use of Java doc for generating useful documentation for our Java code.