Pls help


#1

Line 4 has a code statement that is incomplete. Use each Boolean operator no more than once to replace the empty comments /**/. The code statement should print out false.

public class Precedence {
public static void main(String[] args) {

	boolean riddle = /**/( 1 < 8 /**/ (5 > 2 /**/ 3 < 5));
	System.out.println(riddle);

}

}


#2

Hi @shubhangipillai, I can't tell exactly what you need help with.

Maybe you don't know what the three Boolean operators are?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.