Write the output of the following:
(i) System.out.println(Character.isUpperCase('R'));
(ii) System.out.println(Character.toUpperCase('j'));

Long Answer
Views 68

Answer:

(i) System.out.println(Character.isUpperCase('R'));
Output: true

(ii) System.out.println(Character.toUpperCase('j'));
Output: J

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.