1(xx)
What will be the output for:
System.out.print(Character.toLowerCase('1'));
- (a)0
- (b)1
- (c)A
- (d)true
Show SolutionHide Solution↓
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.