class Coords { public int x, y; // constructor public Coords() { x = 0; y = 0; } }