The equals() Contract

The equals() Contract

Pulled straight from the Java docs, the equals() contract says : 
  1. It is reflexive
  2. It is symmetric
  3. it is transitive.
  4. It is consistent
  5. For any non null reference value.

Date:2013-03-09 00:00:00

Post Your Answers

User Email:

User Name:

Related scjp1.5 chap8 Links

scjp1.5 chap8 interview questions and answers for experienced and fresher