What will be the output of the following code?
(i) char x = ’A’; int M;
M = (x == ‘a’)? ‘A’: ‘a’;
System.out.println(a);
Answers
Answered by
3
Answer:
output
char a = 65 ;
because value of acsii code for a is 65
Similar questions