Advertisements
Advertisements
Question
Write the output of the codes given below.
System.out.println("M isUpperCase ::" + Character.isUpperCase('M');
System.out.println(“j toUpperCase ::" + Character.toUpperCase('j'));
System.out.println("+ isUpperCase ::" + Character.isUpperCase('+'));
System.out.println("? toUpperCase ::" + Character.toUpperCase('?'));
Very Short Answer
Advertisements
Solution
M isUpperCase :: true
j toUpperCase :: J
+ isUpperCase :: false
? toUpperCase :: ?
shaalaa.com
Is there an error in this question or solution?
