Commit 4e03ff4
committed
feat: Add ComparisonOperators class demonstrating relational operations
Add a class to showcase Java comparison operators including:
- Less than (<) and greater than or equal to (>=)
- Equality (==) and inequality (!=) checks
- Logical negation of a comparison
- Output of evaluated boolean expressions based on integer values.1 parent 0114a63 commit 4e03ff4
File tree
1 file changed
+5
-1
lines changed- Section5OperatorExpression/1. Fundamentals/Operators/Comparison Operators/src
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | | - | |
| 19 | + | |
0 commit comments