//An instance of this class represents a position in a 2-D grid // and has 2 integer attributes, a row and a column; these may // assume any int value, positive, zero, or negative //An instance of this class is immutable // public class Position { //Instance Variables private final int row; private final int col; public Position(int row, int col) { this.row = row; this.col = col; } //Return all Positions orthogonally adjacent to this Position public Position[] neighbors() { return null; } //Return true if parameter other is orthogonally adjacent to // this Position, false otherwise public boolean isAdjacentTo(Position other) { return false; } //Override public String toString() { return "[" + this.row + "," + this.col + "]"; } //Override public boolean equals(Object other) { return false; } }