ICSE Class 10 Computer Applications Question 20 of 30

Solved 2024 Specimen Paper ICSE Class 10 Computer Applications — Question 20

Back to all questions
20
Question

Question 1(xx)

What will be the output for:

System.out.print(Character.toLowerCase('1'));
  1. 0
  2. 1
  3. A
  4. true
Answer

1

Reason — In Java, the Character.toLowerCase(char ch) method is used to convert a given character to its lowercase equivalent, if one exists. If the character is already in lowercase or there is no lowercase equivalent, it will return the original character.