What is the bitwise right shift operator?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the bitwise right shift operator?
Rating:
The bitwise right shift operator shifts the bits of its left operand to the right-hand side by using the number of positions specified by its right operand. For each shift operation, the lower-order (rightmost) bit of the left operand is shifted off and discarded, and its leftmost bit position exposed by the right shift is filled in with the previous content of the leftmost bit. The right shift operator is denoted by the symbol >>. It is a binary operator and works with integer primitives only.
Rating:
Was this information helpful?
Other articles
- What is the for loop?
- What is the ternary (?:) operator?
- What is the private access specifier?
- What is autoboxing?
- What are unary + and - operators?