Computer Applications

Write a statement for each to perform the following task on a string:

Check if the second character of a string str is in upper case.

Java String Handling

ICSE 2010

32 Likes

Answer


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

Answered By

20 Likes


Related Questions