// Marty Stepp, CSE 142, Autumn 2008 // This file defines a new class of objects named Point. // // All the code in the class's {} braces represents what contents // should be replicated inside of each Point object. // So, for example, if I create 1000 Point objects, I will have also // created 1000 int x's and int y's. // // Point.java is not a complete program; it has no main method, and you cannot // directly run it. But it defines a new type of objects that can be used by // other files ("client programs"). public class Point { int x; // EACH Point object should have a variable int y; // inside it named x, and a variable named y }