JavaDocs are used to create useful documentation for your Java code. Following example shows how put javadoc comments for a method.
/**
* @param studentName Name of the student.
* @param courseID Course ID of the course.
* @return Course grade.
*/
public String getGrage(String studentName, String courseID {
...
return grade;
}