Class Math

java.lang.Object
  extended by Math

public class Math
extends java.lang.Object


Method Summary
static int add(int x, int y)
          Returns the sum of two numbers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public static int add(int x,
                      int y)
Returns the sum of two numbers.

Parameters:
x - A number to add
y - A number to add
Returns:
The value of x+y