Commit 9085532
committed
feat: Add Bitwise3 class demonstrating bitwise XOR operation
Add a program that:
- Initializes two integers using binary literals
- Performs a bitwise XOR (`^`) operation
- Prints the result of the XOR computation
- Highlights how XOR compares bits in Java.1 parent 132dd7b commit 9085532
1 file changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 7 | + | |
12 | 8 | | |
13 | 9 | | |
14 | 10 | | |
15 | | - | |
| 11 | + | |
0 commit comments