The one that is used to compare Strings.
Look at the API doc for all the details:
http://docs.oracle.com/javase/7/docs/api/
Type: Posts; User: Norm
The one that is used to compare Strings.
Look at the API doc for all the details:
http://docs.oracle.com/javase/7/docs/api/
Does it work now?
You can not use the > operator with objects like Strings. You need to use methods when working with objects. Read the API doc for the String class to find some methods that are useful for comparing...
Please post the full text of the error message.
Please Edit your post and wrap your code with
<YOUR CODE HERE>
to get highlighting and preserve formatting.
Please explain the problems you are having with the posted code. Show the program's output and explain what is wrong and show what it should be.
Please Edit your post and wrap your code with
...