Pass this to your favorite search engine: java equals method
Type: Posts; User: Norm
Pass this to your favorite search engine: java equals method
Use the equals() method to compare Strings.
BTW:
The compare for equals operator is ==
The assignment operator is =
Please copy the full text of the error message and paste it here. It has important info about the error.
Please edit your post and wrap your code with code tags:
YOUR CODE GOES HERE
to get...