+ 6
toUpperCase: Returns the character in upper case. Example/ char A = Character.toUpperCase('a'); // A isUpperCase: Returns true if the character is in upper case. Otherwise, returns false. Example/ boolean B = Character.isUpperCase('b'); // False
22nd Mar 2018, 2:04 AM
Rrestoring faith
Rrestoring faith - avatar
+ 4
I wasn't sure if UpperCase(char) exists so I assumed you meant to say isUpperCase(char). Do you know what class UpperCase(char) is from? The Character and String class do not have such a method.
22nd Mar 2018, 2:23 AM
Rrestoring faith
Rrestoring faith - avatar