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