Boolea operator confusion


#1



https://www.codecademy.com/courses/learn-java/lessons/conditionals-control-flow/exercises/boolean-operators-precedence?action=lesson_resume


Precedence.java:4: error: ')' expected
boolean riddle = (!true( 1 < 8 (5 > 2 ||3 < 5));
^
Precedence.java:4: error: not a statement
boolean riddle = (!true( 1 < 8 (5 > 2 ||3 < 5));
^
Precedence.java:4: error: ';' expected
boolean riddle = (!true( 1 < 8 (5 > 2 ||3 < 5));
^
Precedence.java:4: error: illegal start of type
boolean riddle = (!true( 1 < 8 (5 > 2 ||3 < 5));
^
Precedence.java:4: error: illegal start of expression
boolean riddle = (!true( 1 < 8 (5 > 2 ||3 < 5));
^
Precedence.java:4: error: ';' expected
boolean riddle = (!true( 1 < 8 (5 > 2 ||3 < 5));
^
6 errors


I am really confused. I am not getting it...
Can you Help me:confused::confused:


#2

Hello @arunimaray,

Could you please post your full code?

Thank you,

@minasf


#3

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