Computer Science, asked by vgoodboi50, 3 months ago

What will be the output of the following:

char a='B';

int x=(int)a;

System.out.println(x);​

Answers

Answered by pnandinihanwada
0

Answer:

char x = 'A';

int m;

m = (x == 'a')? 'A' : 'a';

System.out.println("m = " + m);

Similar questions