Computer Science, asked by rachana43, 5 months ago

(b) What is the output of the following program snippet?
char x= 'A': int m:
m=(x== 'a')? 'A': 'a';
System.out.println("m="+m);
Please answer me and even explain it please ​

Attachments:

Answers

Answered by karmveerkumar951
7

Answer:

the answer is m=a

Explanation:

since x not equals to a because value of x Is A

Answered by aaradhyatripathi32
4

correct Answer is m=97

hope it helps everyone who needs the Answer

Similar questions