What is a reflexive equals contract ?
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

 Q1. What is a reflexive equals contract ?Core Java
Ans. An equal contract is said to be reflexive is equality between 2 objects always returns to be true.

For example -

Object o1;
Object o2;

o1.equals(o2); // returns true
o2.equals(o1); //returns true

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     reflexive equals contract


Related Questions

  Difference between == and .equals() ?
  Which String class does not override the equals() and hashCode() methods, inheriting them directly from class Object?
  Can we compare Integers by using equals() in Java ?
 In Java, if object A contains same the same data of object B, are they equal?
 Write a class and override the equals and hashcode method ?
 What is equals method in Java ?
 Explain Transitive equals contract.
 why is "".equals(str); safer than str.equals("")?
 Difference between equals and compareTo in Java ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: