Skip to content

Commit 8fd9d96

Browse files
Update and clarify Java bitwise operators
1 parent 32cdac3 commit 8fd9d96

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

content/java/concepts/operators/operators.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,9 @@ Bitwise operators are used to manipulate individual bits of a number.
7878
- `|` Bitwise OR
7979
- `^` Bitwise XOR
8080
- `~` Bitwise complement
81-
- `<<` Signed right shift operator
82-
- `>>` Signed left shift operator
81+
- `<<` Left shift operator
82+
- `>>` Signed right shift operator
8383
- `>>>` Unsigned right shift operator
84-
- `<<<` Unsigned left shift operator
8584

8685
They can only be operated on data of `int`, `char`, `byte`, `long`, and `short`.
8786

0 commit comments

Comments
 (0)