Wednesday, January 15, 2014

Java String.equals versus == [duplicate]

String.equals("some string") checks the contents of the string
"==" checks if the object references are identical

No comments:

Post a Comment