spring hibernate jsfmaven
 

Java - isUpperCase() Method


This method determines whether the specified char(ch) value is uppercase.

Syntex

boolean isUpperCase(char ch)

Parameters

what is mean of ch?
ch − Primitive character type.

Example

public class Test {

   public static void main(String args[]) {
      System.out.println(Character.isUpperCase('x'));
          System.out.println(Character.isUpperCase('Y'));
          System.out.println(Character.isUpperCase('A'));
      System.out.println(Character.isUpperCase('\n'));
      System.out.println(Character.isUpperCase('\t'));
   }
}

Output
false
true
true
false
false

Run example »