From c4f68f665fb2881a9876e38b4f7625b9c69595dd Mon Sep 17 00:00:00 2001 From: BobSaidHi <47067448+BobSaidHi@users.noreply.github.com> Date: Sat, 20 Nov 2021 16:30:35 -0800 Subject: [PATCH] Added note about issue #106 See #106 --- java/JavaCheatSheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/JavaCheatSheet.md b/java/JavaCheatSheet.md index 80ddd91..f30f691 100644 --- a/java/JavaCheatSheet.md +++ b/java/JavaCheatSheet.md @@ -285,6 +285,8 @@ System.out.println((double) 3 / 2); Booleans can hold the values `true` and `false`. +> Noe about the logical OR operator: The operator for OR in Java is `||`, eg: `A || B`. This may be incorrectly displayed below do to a conflict with the markdown table symbol `|`. It appears that the markdown conversation VSCode extension requires an escape character (`\`), while GitHub pages does not. + | Operation | Example | Explanation | |---|---|---| | NOT | `!A` | Opposite of A |