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

56 Likes

Answer


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

Answered By

32 Likes


Related Questions