Lecture 5
10
javadoc
•Web documentation generated from source
•Special javadoc comment: /** … */
•LinearEquation.java line 53
/**
 * Compute y, given x.
 *
 * @param x the input value.
 * @return the corresponding value of y: mx+b.
 */
 public double compute( double x )
 {
// arithmetic here
 }