JavaDoc
Agenda
What is Javadoc?
Why use Javadoc?
Writing Javadoc Comment
Commenting a Class
Writing Javadoc Comment
package diceGame;
/**
* This class creates dice object.
* This class can create dices of different sizes.
* Users can roll the dice.
*
* @version 1.0
* @author CSCI 2121 Instructor
*/
public class Die
{
/** constructor to create dice object */
public Die();
}
Javadoc
Comments
Commenting a Method
Commenting Instance and Static Variables
For more information...
Visit the article:
How to Write Doc Comments for the Javadoc Tool
http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html