### Question:
RowId implements Serializable { @Override public boolean equals(Object obj) { if (obj == null || !(RowId.class.equals(obj.getClass()))) { return false; } return Arrays.equals(getId(), ((RowId) obj).getId()); } protected  RowId();  RowId(Object... id); Object[] getId(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void equals_differentDataType_returnsFalse() { RowId id = new RowId(new Object[] { "id", "name" }); Assert.assertFalse(id.equals("Tudiluu")); Assert.assertFalse(id.equals(new Integer(1337))); }
@Test public void equals_differentDataType_returnsFalse() { RowId id = new RowId(new Object[] { "id", "name" }); assertFalse(id.equals("Tudiluu")); assertFalse(id.equals(new Integer(1337))); }