public class Place { private String town; private String state; private String zip; // Constructor(s) public Place(String _town, String _state, String _zip) { town = _town; state = _state; zip = _zip; } // Place() // Accessors public String getTown() { return this.town; } // getTown() public String getState() { return this.state; } // getState() public String getZip() { return this.zip; } //getZip() // operation(s) public boolean equals(String zipCode) { return zipCode.equals(this.zip); } // equals() // Print method public String toString() { return "Town: "+town+", "+state+", "+zip+"\n"; } //toString() } // class Place