// This class defines a blueprint for Point2 objects. // A new Point2 object can be created by calling: // Point1 p = new Point1(); // Point2 objects have two integer fields, x and y. // They can be accessed by using: // p.x // p.y public class Point2 { //fields: data / information // Since these do not have the word "static" // it means they are part of the blueprint. // Every Point1 object will have an x and a y // value. The will be by default set to 0. int x; int y; //instance methods: behavoir / actions }