* simply displays "Hello World!" to the standard output. * The HelloWorld program implements an application that Similarly, the line which preceeds // is Java single-line comment. Javadoc is a tool which comes with JDK and it is used for generating Java code documentation in HTML format from Java source code, which requires documentation in a predefined format.įollowing is a simple example where the lines inside /*….*/ are Java multi-line comments. We will see how we can make use of Javadoc to generate useful documentation for Java code. This chapter is all about explaining Javadoc. The JDK javadoc tool uses doc comments when preparing automatically generated documentation. This is a documentation comment and in general its called doc comment. The compiler ignores everything from // to the end of the line. The compiler ignores everything from /* to */. The Java language supports three types of comments − Sr.No.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |