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.

By:umang
Date:2013-03-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related scjp1.5 chap8 Links

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