Think you can just compare two strings with == nope it does not work that way in Java. Yes it will test them but it will be wrong. Even doing other tests will come out wrong too. Instead you must use special string comparison test methods to actually evaluate the string values.
String Comparisons
No comments:
Post a Comment