why the equals method can be override?when we override the
equals method?

Answer Posted / manju kt

to check if 2 objects references to the same memory
location..

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between static and global variables and also define what are volatile variables?

553


If two threads have same priority which thread will be executed first ?

844


Is java free for businesses?

589


What is the difference between inner class and nested class?

553


What are thread priorities and importance of thread priorities in java?

628






What happens if a constructor is declared private?

537


What is meant by javabeans?

616


Where will it be used?

1510


what is the use of bean managed and container managed with example?

1498


Differences between traditional programming language and object oriented programming language?

574


What are java threads?

623


What is %d in printf?

534


What is an class?

593


What is the inheritance?

552


What is the maximum size of a string in java?

551