Computer Applications

Write down the syntax to check if the second character of a String(str) is in upper case.

Java String Handling

ICSE 2010

66 Likes

Answer


boolean res = Character.isUpperCase(str.charAt(1));

Answered By

39 Likes


Related Questions