English

Give the output of the following character class method: Character.toUpperCase ('a')

Advertisements
Advertisements

Question

Give the output of the following character class method:

Character.toUpperCase ('a')

Very Short Answer
Advertisements

Solution

A

Explanation:

The method Character.toUpperCase('a') takes the lowercase character 'a' as an input and converts it into its uppercase equivalent. The resulting output is the capital letter 'A'.

shaalaa.com
  Is there an error in this question or solution?
Chapter 5: Library Classes - Exercises [Page 315]

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 5 Library Classes
Exercises | Q 7. (i) | Page 315
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×