// HouseWithDifferentEquals.java

public class HouseWithDifferentEquals extends House
{
   public HouseWithDifferentEquals(String zipCode,
                                   int price,
                                   int numberOfRooms)
   {
      super(zipCode, price, numberOfRooms);
   }  // constructor

   public boolean equals(Object other)
   {
      return ( this == other );  // same as class Object's version
   }  // equals
}  // class HouseWithDifferentEquals