Computer Science, asked by janvi2055, 1 month ago

char a = 'z', b='%'; System.out.println(a + b);​

Answers

Answered by amansarrafas24payxgs
1

Answer:

Output:

Output:159

Explanation:

value of a = 122

value of b = 37

and when they are written without any separate with + operator they take their Integer value and add them.

Therefore,

the output will be 122+37 = 159

I hope you find it useful... If you have any query do comment, I will try to solve it...

Answered by Anonymous
0

Answer:

output =159

hope it helps

Similar questions