Friday, April 22, 2011

Comments in java technology

  1. Java technology supports three type of comments :
    1. A single line comment starting with //
    2. A multi-line comment enclosed between /* and */
    3. A documentation or javadoc comment is enclosed between /** and */. These comments can be used to generate HTML documents using the javadoc utility, which is part of Java language.

No comments:

Post a Comment

Chitika