ICSE Class 10 Computer Applications Question 16 of 30

Solved Sample Paper 3 — Question 16

Back to all questions
16
Question

Question 1(xvi)

The method to determine whether the specified char value is in uppercase or not.

  1. toUpperCase(char)
  2. toLowerCase(char)
  3. isLowerCase(char)
  4. isUpperCase(char)
Answer

isUpperCase(char)

Reason — isUpperCase() is used to check if the character given as its argument is in upper case or not. It returns true if the argument is in uppercase, else returns false.