if (!(Character.isUpperCase(ch))); {
legal = false;
System.out.println("Legal, but uses poor style.");
}
Is this supposed to function as if statement? It will not. What's semicolon...
Type: Posts; User: Mr.777
if (!(Character.isUpperCase(ch))); {
legal = false;
System.out.println("Legal, but uses poor style.");
}
Is this supposed to function as if statement? It will not. What's semicolon...
indexOf(int ch)
Returns the index within this string of the first occurrence of the specified character.
indexOf(int ch, int fromIndex)
Returns the index within this string of...
How can you justify the position differentiated with the string instead of integer?
Maps are exceptions.
1. Which Java Version are you using?
2. Why do you need to find the index of space?
3. What is variableName data type?
4. indexOf() doesn't return String but an integer.