/** * This class is used in the Java version * of the AP Computer Science A4, 2000 exam * @see java.awt.Point for a standard point class * */ public class Point { private int myRow; private int myColumn; /** * Construct a point with given row/column */ public Point(int row, int col) { myRow = row; myColumn = col; } /** * return the row of this point */ public int getRow() { return myRow; } /** * return the column of this point */ public int getColumn() { return myColumn; } }