using equals method overriding which objects are
compared?i.e same class objects or other class
objects?Explain me.

Answer Posted / bond

same class objects

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is garbage collection? Can it be forced to run?

737


What is identifier in java?

756


What is the difference between a synchronized method and a synchronized block?

828


What is the method overriding?

804


What are thread local variables?

750


What is the difference between processes and threads?

721


Can we have multiple classes in a single file?

704


What are multiple inheritances? Is it supported by java?

652


How do you define a method?

699


what do you understand by the term string with respect to java?

756


What is meant by 'bit masking' in java?

850


How does multithreading take place on a computer with a single cpu in java programming?

727


What is difference between hashset and hashmap in java?

678


how is final different from finally and finalize in java?

791


How java uses the string and stringbuffer classes?

720