public class Place { // Represents places with the following attributes private String zipCode; private String town; private String state; // Constructors public Place(String zip, String twn, String st) { zipCode = zip; town = twn; state = st; } // Place() // Accessors... public String getZip() { return zipCode; } // getZip() public String getTown() { return town; } // getTown() public String getState() { return state; } // getState() // Print Method public String toString() { return town + ", " + state + " " + zipCode; } // toStrong() // Comparator public boolean equals(String zip) { return zip.equals(zipCode); } // equals() } // class Place