Hi, well i am unable to understand that why it is mandatory
to have same hashcode, if two objects are same?
Thanks in advance.
Answer Posted / prasanna
If two objects are equal then there hashcode must same.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How does finally block differ from finalize() method?
What is the difference between a constructor and a method?
How are the elements of a gridbaglayout organized in java programming?
What is a predicate method?
How many types of gc are there in java?
How to create a fecelet view?
What is a class in java?
Explain the difference between an object-oriented programming language and object-based programming language?
Why deletion in linkedlist is fast than arraylist?
What are three ways in which a thread can enter the waiting state in java programming?
What is a protected class in java?
Name some OOPS Concepts in Java?
What is volatile data type?
What is data string?
Are arrays immutable in java?