| java.lang.Object org.netbeans.test.freeformlib.SumNumbers
SumNumbers | public class SumNumbers (Code) | | author: Administrator |
Method Summary | |
public int | getSum() Count the sum from initialized variables of object. | public int | getX() | public int | getY() | public void | setX(int x) | public void | setY(int y) | public static int | sum(int x, int y) Count the sum from parameters. |
SumNumbers | public SumNumbers()(Code) | | Creates a new instance of SumNmbers
|
SumNumbers | public SumNumbers(int x, int y)(Code) | | Creates a new instance of SumNmbers
|
getSum | public int getSum()(Code) | | Count the sum from initialized variables of object.
|
setX | public void setX(int x)(Code) | | |
setY | public void setY(int y)(Code) | | |
sum | public static int sum(int x, int y)(Code) | | Count the sum from parameters.
Parameters: x - first argument for sum. Parameters: y - second argument for sum. |
|
|