YouTip LogoYouTip

Character Isuppercase

# Java isUpperCase() Method [![Image 3: Java Character Class](#)Java Character Class](#) * * * The isUpperCase() method is used to determine whether the specified character is an uppercase letter. ### Syntax boolean isUpperCase(char ch) ### Parameters * **ch** -- The character to be tested. ### Return Value Returns true if the character is uppercase; otherwise, returns false. ### Example public class Test {public static void main(String args[]) {System.out.println( Character.isUpperCase('c'));System.out.println( Character.isUpperCase('C'));}} The output of the above program is: falsetrue * * Java Character Class](#)
← Character TouppercaseCharacter Isdigit β†’