Friday, February 9, 2007

Two methods in a Primary Key class that should be implemented why?

The 2 methods are hashCode & equals.
These methods are required to compare the data of each row for uniqueness.


SOURCE : www.referjava.com

No comments: