Computer Science, asked by pinky200522, 8 months ago

Predict the output char x=A,y= b;
int m=x+y;
System. Out. Println("m="+m) ;

Answers

Answered by smdmuzakkir417
0

Answer:

a + b=m

Explanation:

hs ji sibduci xz jshydisihsisixh

Answered by AskewTronics
0

163 will gives the output if the syntax error of the above code will removed,otherwise it will render error.

Explanation:

  • The above code will have some syntactical error, which is as follows:-
  1. There is a single code puts on the value of x and y to tell that the value is in character value.
  2. Then the o and p will be in small in the statement "System.out.println".
  • If the above syntax error will be removed then the above code will give the output as 163. Because the variable x+y adds the ASCII value of A and b character which will be 65 and 98 which will become 163 after addition.

Learn More:

  • Output of the java program : https://brainly.in/question/1807583
Similar questions