Commit d291580
committed
feat: Add Bitwise1 class demonstrating bitwise AND operation
Add a program that:
- Initializes two integers using binary literals
- Performs a bitwise AND (`&`) operation
- Prints the result of the bitwise computation
- Demonstrates basic use of bitwise operators in Java.1 parent 030b995 commit d291580
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
5 | 3 | | |
6 | | - | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 8 | + | |
14 | 9 | | |
15 | 10 | | |
16 | 11 | | |
17 | | - | |
| 12 | + | |
0 commit comments