Computer Applications
The method to convert a lowercase character to uppercase is:
- String.toUpperCase( )
- Character.isUppercase( char )
- Character.toUpperCase( char )
- toUpperCase ( )
Java Library Classes
ICSE Sp 2025
14 Likes
Answer
Character.toUpperCase( char )
Reason — The method Character.toUpperCase(char) is used to convert a single lowercase character to its uppercase equivalent. It belongs to the Character class in Java.
Answered By
7 Likes
Related Questions
- The statement that brings the control back to the calling method is: - break
- System.exit(0)
- continue
- return
 
- The default value of a boolean variable is: - False
- 0
- false
- True
 
- Assertion (A): Integer class can be used in the program without calling a package. - Reason (R): It belongs to the default package java.lang. - Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A)
- Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion(A)
- Assertion (A) is true and Reason (R) is false
- Assertion (A) is false and Reason (R) is true
 
- A student executes the following code to increase the value of a variable ‘x’ by 2. - He has written the following statement, which is incorrect. - x = +2;- What will be the correct statement? - A. x +=2; 
 B. x =2;
 C. x = x +2;- Only A
- Only C
- All the three
- Both A and C