- Three different ways to put comments in your Java code:
| // |
define a comment to the end of the current row |
- ... */
|
define a multi-line comment between the two symbols |
|
...*/ |
a "Javadoc" multi-line comment |
|
|
|
Next: Javadoc comment tags
Up: Comments and Javadoc
Previous: Comments and Javadoc
  Contents
|
|