what is the difference between equals method and ==

Answer Posted / leo zhao

Hi Ravi,
a==c----> returns true, only if obj1 c = a.

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does treeset use compareto?

543


What is final modifier?

560


How many unicode characters are there?

560


What is use of inner class in java?

518


What is the difference between and ?

517






Can you override private or static method in java?

556


Can we change the value of static variable?

502


How many types of methods are there in java?

530


Where is core java used?

588


How do singleton patterns work?

521


Why is stringbuffer called mutable?

567


Differences between traditional programming language and object oriented programming language?

574


What is package protected in java?

528


What is a generic code?

528


What do you mean by stack?

647