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

36 Likes

Answer


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

Answered By

24 Likes


Related Questions