Difference between documentation comment and multiline comment in java?
Java programming language supports three types of Comments. Single line comment, Multiple line comment and Document comment. Go through the given tutorial to know the difference between document comment and multiple lines comment. Comments in Java Code
Here is an example of documentation comment:
/** documentation comment*/
The javadoc tool uses the content of documentation comment for generating the API documentation.
Here is an example of multiline comment:
/* comment Line 1 Comment line 1 */
The Multiple comment is used to comment the code or write some details about the code in multiple lines.