+ 1
If query
will the following code be evaluated? if(27) System.out.println("Condition true");
2 Answers
+ 2
yes the code will be evaluated to true! any positive integer will be taken as true and the if condition evaluates to true!
+ 1
anything non zero = true
zero = false
therefore, this is true