Advertisements
Advertisements
Question
Find the output of the following program snippet:
char ch = 'A';
char chr = Character.toLowerCase(ch);
int n = (int)chr - 32;
System.out.println(Char)n + "\t" + chr);
One Line Answer
Solution
A a
shaalaa.com
Is there an error in this question or solution?