Method Summary |
|
public void | add() Adds A and B and makes the result available via
Sum.getSum . |
public int | getA() Returns the value of A. |
public int | getB() Returns the value of B. |
public int | getSum() Returns the sum of A and B produced by the last call of
Sum.add . |
public void | setA(int a) Sets the value of A. |
public void | setB(int b) Sets the value of B. |