what is the difference between equals method and ==
Answer Posted / sriragv
equal method also indirectly use == method i.e hashcode
(),there will be no difference b/w equals and == unless
until u override the equal method
Let me know if iam wrong
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Does .length start 0 java?
When is finally block not called?
What is a control variable example?
What are the types of strings?
Is java a software?
How do you stop a thread in java?
What is not thread safe?
What are functions in java?
Is logger a singleton?
Why are generics used?
What is main in java?
What is the benefit of singleton pattern?
Why can't you declare a class as protected?
What is 32 bit float?
What Is Query Throttling in java?