é superior em java
if (Character.isUpperCase(val)) {
System.out.println("Character is in Uppercase!");
}else {
System.out.println("Character is in Lowercase!");
}
Deepak jha