b) What will be the output of the following code?
char x='A', y='b';
int m= x + y;
System.out.println ("m = "+m);
Answers
Answered by
0
Answer:
m = 163
Hope It Helps
Answered by
1
Output:-
163
Step By Step Explanation:-
Given,
char x='A', y='b';
int m= x + y;
System.out.println ("m = "+m);
ASCII value of A is 65.
ASCII value of b is 98.
m=65+98=163.
m is printed. So, output is 163.
Similar questions