1
What will be the output of the following program ?
class Test{
public static void main(String args[]){
char ch = 'a';
char chr = Character.toLowerCase(ch);
int n = (int) chr + 20;
System.out.println((char)n+"\t" + chr);
}
}
- A
u a
- B
a + 20
- C
a 20
- D
87