What will be the output of the following:
char a='B';
int x=(int)a;
System.out.println(x);
Answers
Answered by
0
Answer:
char x = 'A';
int m;
m = (x == 'a')? 'A' : 'a';
System.out.println("m = " + m);
Similar questions
Accountancy,
1 month ago
Math,
1 month ago
English,
3 months ago
English,
11 months ago
Math,
11 months ago