How to Use Java Comments
Java provides three types of comments to document a program and are ignored by the compiler:
-
A documentation (Javadoc) comment: /** ... */
This is Single-line Comment after end of line Or Any Were
System.out.println("Hello World This is\b ezcod.blogspot.com "); // This line Printed on Screen
Multiple-line Comment
A multiple-line comment can span several lines.
/*
All
Thes
are
comments
*/
Documentation Comment
/**
* This is Document Comments .
* @author ezcod.blogspot.com.
* @version 4.5
*/
Download Code Here
Tags:
Java