Computer Science, asked by AryanKapoorLucknow, 4 months ago

int m=30,n=15
char res=(m>=n)?'A: 'a';
system.out.println(res);

what will be the output

Answers

Answered by yesiamin6
0

Answer:

A will be the output of your code. As you used ternary operateor which will execute same as like if else conditions so the A will be assigned to res

Explanation:

HOPE IT HELPS YOU

DO FOLLOW FOR MORE ANSWERS

MARK AS BRAINLIEST

Similar questions