char c='a'
char x=c=='A'?'x':'y';
System.out.println(x);
Answers
Answered by
0
Answer:
y
Explanation:
because condition is false
Answered by
0
Answer:
Output will be y.
Explanation:
because in char c small 'a' has been stored but in the conditional statement it is comapred with capital 'A' so it will execute the else part that is 'y'.
HOPE THIS WILL HELP YOU:)
Similar questions
Social Sciences,
4 months ago
English,
4 months ago
English,
4 months ago
Social Sciences,
8 months ago
Biology,
1 year ago
Math,
1 year ago