Computer Science, asked by pallabiB, 5 months ago

write the output of : char ch='F';int m = ch;m=m+5. system.out.println(m+" " + ch)​

Answers

Answered by xx3x
3

Answer:

11 F

Explanation:

int m=ch means the integer value of ch will be assigned to m (integer value of F is 6)

Now, m= m+5 means m=6+5 ( new value of m= previous value of m+ 5)

The output has to be m <space> ch.

Similar questions