why the equals method can be override?when we override the
equals method?
Answer Posted / dsureshkumar28
question is not clear
may ur question is
why hashcode() will be override when u override equals()?
is it
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What languages are pass by reference?
Differentiate between == and equals().
Is a boolean 1 bit?
Which java version is latest?
What is the transient keyword?
What is the difference between inheritance and encapsulation?
What is an example of character?
Java Compiler is stored in JDK, JRE or JVM?
Why are there no global variables in java?
How do you declare an empty string?
Should you use singleton pattern?
What is meant by class loader? How many types are there? When will we use them?
Why collection is called framework in java?
Can a constructor be made final?
What is the purpose of the main method?