(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