package cal;

public class Addition extends Operator {

	public Addition() {
		super("+");
	}

	@Override
	public double calculate(double val1, double val2) {
		return val1 + val2;
	}
}

@@ -10,89 +10,516 @@
 al;%0A
-%0Apublic class Addition extends Operator %7B%0A%0A%09public Addition() %7B%0A%09%09super(%22+%22);%0A%09%7D%0A
+/**%0A * %0A * This is a concrete%0A * class that is used %0A * to representing %0A * a Addition object%0A * which is extending the%0A * abstract operator class%0A * %0A * @author cal%0A *%0A */%0Apublic class Addition extends Operator %7B%0A%09/**%0A%09 * %0A%09 *  A constructor to %0A%09 *  initialize the attributes %0A%09 *  using symbol + as Addition%0A%09 *  %0A%09 */%0A%09public Addition() %7B%0A%09%09super(%22+%22);%0A%09%7D%0A%0A%09/**%0A%09 * %0A%09 *  A method accepting 2 double value%0A%09 *  to calculate and return the Addition %0A%09 *  value%0A%09 *  @param val1%0A%09 *  @param val2%0A%09 *  %0A%09 */
 %0A%09@O

Add java doc to Addition class