isUpperCase - Returns Whether the given character is uppercase or not in Java
-
Forget Code
-
Java
-
isUpperCase - Returns Whether the given character is uppercase or not
-
- import java.util.*;
- import java.lang.*;
-
- class ForgetCode
- {
- public static void main(String args[])
- {
- char chr='f';
- char chr1='C';
-
- if(Character.isUpperCase(chr1))
- {System.out.println("The Given Character is Uppercase");
- }
- }
- }
Tags for isUpperCase - Returns Whether the given character is uppercase or not in Java