Core Java - Interview Questions and Answers for 'Transitive equals contract' | Search Java Interview Question - javasearch.buggybread.com
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

   



Core Java - Interview Questions and Answers for 'Transitive equals contract' - 1 question(s) found - Order By Newest

 Q1. Explain Transitive equals contract.Core Java2018-07-19 21:13:52

Ans. The equals contract is said to be transitive if

obj1.equals(obj2); and obj2(.equals(obj3)

then obj1.equals(obj3) also returns true.

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

   Like         Discuss         Correct / Improve     Transitive equals contract        rare


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 ?
 What is a reflexive 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: