Comments increase the readability of the program.
There are 3 types of comments in Java.
- Single line comment (//text)
- Multi-line comment (/* text */)
- Java documentation comments (/** text */)
These documents are useful to create a .html file called API document from a java
program.
API Document:
Is a .html file that contains description of all the features of a software or a technology
or a product. It is similar to help file.
To create API document, we use javdoc compiler.
No comments:
Post a Comment