Explanatory Question
What will be the output of the following code?
char x = 'A';
int m; m = (x == 'a') ? 'A' : 'a';
System.out.println("m = " + m);
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.