Chapter 5.2 - Using Comments
What are the special javadoc tags?
@return and @param
What is the main purpose of using comments?
To explain and document the features of the program
What differentiates javadoc comments from block comments?
You must place a * at the beginning of every line between the marks at the beginning and end of the comment (in javadoc comments).
Which type of comments are placed between /* and */ marks?
block comments
@return
describes the method's return value in a javadoc comment
@param
describes the parameter of a method in a javadoc comment
javadoc comments
generate documentation in HTML format automatically from these comments in the source code
comments
notes in English written into the source code
Which type of comment starts with a // mark?
single line comments