If int a = 10, then what will be the
value of variable b in expression
given here as int b = (a==10) ? 100:
10;
Options
1
10
0
100
Answers
Answered by
1
Answer:
The precedence of operators in Java follows BODMAS.
False
Question 2
The output of a++ will be 1, if int a = -1.
False
Question 3
The relational operators always result in terms of 'True' or 'False'.
True
Similar questions