(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
7
Answer:
the answer is m=a
Explanation:
since x not equals to a because value of x Is A
Answered by
4
correct Answer is m=97
hope it helps everyone who needs the Answer
Similar questions
Computer Science,
5 months ago
English,
5 months ago
Science,
5 months ago
Hindi,
10 months ago
CBSE BOARD X,
1 year ago
English,
1 year ago