
/**
 * A foo has 2 numbers.
 *
 * @author (your name)
 * @version (a version number or a date)
 */
public class Foo
{
    
    public int x;
    public int y;

    /**
     * Constructor for objects of class foo
     */
    public Foo()
    {
        // initialise instance variables
        y = 0;
        x = 0;
    }

    /**
     * 
     */
    public int getSum()
    {
        return x + y;
    }
}
