public class Precedence {
public static void main(String args) {
boolean riddle = /**/( 1 < 8 /**/ (5 > 2 /**/ 3 < 5));
System.out.println(riddle);
System.out.println( !(false) || true && false);
Im confuesd on how this Lesson works
public class Precedence {
public static void main(String args) {
boolean riddle = /**/( 1 < 8 /**/ (5 > 2 /**/ 3 < 5));
System.out.println(riddle);
System.out.println( !(false) || true && false);
Im confuesd on how this Lesson works
I also think that the exercise could be a little more clear.
But i got this solution.
boolean tricky;
if ( 3 >= 3 && !(true || true) ){
tricky = false;
}
How did you solve it - im stuck there too