### Question:
ShipNeedle extends MeterNeedle implements Cloneable, Serializable { @Override public boolean equals(Object object) { if (object == null) { return false; } if (object == this) { return true; } if (super.equals(object) && object instanceof ShipNeedle) { return true; } return false; }  @Override boolean equals(Object object); @Override int hashCode(); @Override Object clone();  }### Answer:
@Test public void testEquals() { ShipNeedle n1 = new ShipNeedle(); ShipNeedle n2 = new ShipNeedle(); assertEquals(n1, n2); assertEquals(n2, n1); }