Comments
- Java supports one line comments - everything on the line after
//
is a comment.
- Java supports block comments - the comment starts with
/*,
ends with
*/,
and includes all the lines between.
- Java also supports comments enclosed with
/**
and with
**/.
- These are like block comments, but can be used to automatically generate
documentation with javadoc. See the
Javadoc Home Page.