ICSE Class 10 Computer Applications Question 12 of 16

Library Classes — Question 12

Back to all questions
12
Question

Question 9(ii)

Distinguish between isUpperCase() and toUpperCase()

Answer
isUpperCase( )toUpperCase( )
isUpperCase( ) function checks if a given character is in upper case or not.toUpperCase( ) function converts a given character to upper case.
Its return type is boolean.Its return type is char.