Computer Science, asked by manya6339, 1 day ago

Give the output for:

char x= 'A': int m=(x== 'a') ? 'A' : 'a'; System.out.println("m="+m);​

Answers

Answered by Samarth2011THEBEST
2

Answer:

Explanation:

Ternary Operation...

(x==a)[not true]

If its not true the value after (:) will be applicable to m which is (a)...

Therefore, [m=a || m=9

MARK AS BRAINLIEST

Similar questions