I am stuck on this topic of Boolean operators (&& || !) plz tell me what I’m doing wrong
<Below this line, add a link to the EXACT exercise that you are stuck at.>
Boolean Operators: Precedence
<In what way does your code behave incorrectly? Include ALL error messages.>
It keeps saying : Almost! Did you use each Boolean operator no more than once?
Replace this line with your code.
public class Precedence {
public static void main(String[] args) {
boolean riddle = ( !(3 > 5) || (1 == 1 && 1 != 1) );
System.out.println(riddle);
}
}