English

The method that converts a character to uppercase is:

Advertisements
Advertisements

Question

The method that converts a character to uppercase is:

Options

  • toUpperCase()

  • ToUppercase()

  • toUpperCase(char)

  • touppercase(char)

MCQ
Advertisements

Solution

toUpperCase(char)

Explanation:

The toUpperCase(char) method converts the given lowercase character into its uppercase equivalent and returns the uppercase character.

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

APPEARS IN

Rupa Pandit Computer Applications [English] Class 10 ICSE
Chapter 5 Library Classes
Exercises | Q 1. (ii) | Page 133
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×