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