0

Difference between == operator and .equals() method ?

== operator is used for reference comparison ( address comparison) .equals() method is used for content comparison

14th Jan 2017, 1:05 PM
uday chafale
uday chafale - avatar
2 ответов
+ 4
Did you just answer your own question?
14th Jan 2017, 1:12 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
haha yes. if you know more difference then please share your knowledge.
14th Jan 2017, 1:23 PM
uday chafale
uday chafale - avatar