1
What will be the output of the following program ?
public class Test {
public static void main(String args[] ) {
char ch = ‘m’;
char chr = Character.toUpperCase(ch);
int a (int) chr;
System.out.println(chr + “\t” +a);
}
}
- A
M 77
- B
M 109
- C
77 M
- D
76 N