Answer Posted / srikanth
hashCode() method returns integer no assigned by jvm
ie ...it is for identifying objects in heap memory very
fastly
equals() it is for comparing addreess of objects
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What are the two types of exceptions in java? Which are the differences between them?
What are conditionals and its types?
How many types of threads are there in java?
Why declare Main() inside the class in java ?
Explain static nested classes ?
What happens to the Exception object after handling an exception?
What is the difference between yielding and sleeping?
What is the difference between this() and super() in java?
What is string builder?
what is the difference between yielding and sleeping? : Java thread
How do you get length in java?
What is string data type?
What is tree in java?
What is static keyword in java?
What are the advantages of defining packages in java?