int a=18; int b=12; boolean t=(a>20&&b<15)?true:false
Answers
Answered by
4
Answer:
That is false..
Reason:
We know that how & & operator works..if any of the one value is false then answer is false and true when both are true..
In this question first condition a>20 is false and second is true.. However you know better that 18 is not greater than 20 and 12 which is 'b' is really less than 15. So that will be false.
Similar questions