What is the difference between == operator and equals method?
Shekhar Kumar
== checks both contents or values stored & references are equal or not
while equals method checks only contents or values are equal or not