Please Edit your post and wrap your code with
<YOUR CODE HERE> to get highlighting
Are you trying to reference a field in String or call the method with that name? Method references end with...
Type: Posts; User: Norm
Please Edit your post and wrap your code with
<YOUR CODE HERE> to get highlighting
Are you trying to reference a field in String or call the method with that name? Method references end with...
For examples try Google or do a Search here.
To test if a String variable: str content's is "Y" use: str.equals("Y")
To test if a char variable: aChar content's is 'N' use: aChar == 'N'
Use an if statement to conditionally execute some...
The String class has methods to see if two Strings are equal while ignoring the Strings' case. Look at the API doc for the String class.
Java Platform SE 6