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 ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are adapter classes?
How do you read and print a string in java?
Name few java util classes introduced with java 8 ?
Which is best ide for java?
What are wrapper classes in java?
How do you achieve polymorphism in java?
Why you should not use singleton?
Explain about anonymous inner classes in java?
What package is math in java?
What is difference between next () and nextline () in java?
Is null false in java?
What is a local block?
why Java does not support multiple inheritances?
what is heap memory?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?