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
Why isn’t there operator overloading?
What is a finally block? Is there a case when finally will not execute?
What is java and why do we need it? Explain
What is classname class in java?
How do you override a method?
Why collection is called framework in java?
What are the types of collections in java?
What is the role of the java.rmi.naming class?
How do you write a scanner class in java?
What is integer parseint?
How to split arraylist elements in java?
Why Java doesn’t support multiple inheritance?
Does sprintf allocate memory?
What is package private scope in java?
What is difference between fileinputstream and filereader in java?