Writing Comments in Java Programs
Posted by jineesh uvantavida on Thursday, January 6, 2011 Under: Java
In : Java
// This is an example of a single line comment using two slashes /* This is an example of a multiple line comment using the slash and asterisk. This type of comment can be used to hold a lot of information or deactivate code but it is very important to remember to close the comment. */ /** * This is an example of a Javadoc comment; Javadoc can compile documentation * from this text. */
In : Java
Translate This Page
Make a free website with Yola