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
Can It is possible to synchronize the constructor of a Java Class?
How to declare objects of a class ?
What does nullpointerexception mean?
What is a buffer in java?
What is the default size of load factor in hashing based collection?
Can java program run without jre?
What are scalar data types?
Tell us something about an iterator.
What is a parent class in java?
What is a double?
When to use runnable interface vs thread class in java?
What is rmi and steps involved in developing an rmi object?
What do you mean by byte code?
What is an association?
What is the difference between a constructor and a method?