1

What will be the output of the following program?
class Test {
public static void main(String args[]){
int n = 111;
char ch = Character.toUpperCase((char)n);
System.out.println(ch + ” My God!”);
}
}

  • A

    o My God!

  • B

    Mt God! 111

  • C

    111 My God!

  • D

    O My God!