java.lang.ObjectSimpleMaths
public class SimpleMaths
A class that performs some simple maths operations.
| Constructor Summary | |
|---|---|
SimpleMaths()
Constructor: to be developed further |
|
| Method Summary | |
|---|---|
int |
addTwoNumbers(int x,
int y)
Returns the sum of two integers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleMaths()
| Method Detail |
|---|
public int addTwoNumbers(int x,
int y)
x: - an integery: - an integer