We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64afc69 commit d4e56d1Copy full SHA for d4e56d1
src/boolean/operator_precedence.md
@@ -14,8 +14,8 @@ boolean c = false;
14
15
// just as 2 + 5 * 3 "evaluates" 5 * 3 before adding 2
16
// first, !b is true
17
-// second, a && true is true
18
-// third true || c is true.
+// second, a && !b becomes a && true that is true
+// third a && !b || c becomes true || c that is true.
19
boolean result = a && !b || c;
20
```
21
0 commit comments