The = = is NOT used with
Remember, String variables are
stored in memory by storing addresses to the actual string text.
If we tried to use the = = operator, we would be comparing the
addresses and not the actual string text.
To test two
variables (or any two objects) to see if they have equal values, you must
use the method
rather than = =.
//checks for equality
//checks for equality ignoring case