what is the difference between equals method and ==
Answer Posted / nagarjuna
equals method check the contents of the objects and returns
the boolean value.
== check the objects references
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What do you mean by access modifier?
What do you mean by Function Overloading in java?
What is compareto?
What is the multi-catch block in java?
What does .equals do in java?
What is functional interface in javatpoint?
What are keywords and reserved words in java?
What is class??
What is quick sort in java?
Explain exception chaining in java?
Why do we need singleton?
Why are the methods of the math class static?
What is difference between float and double?
What is complexity and its types?
Can we declare register variable as global?