What is the bitwise left 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 left shift operator?
Rating:
The bitwise left shift operator shifts the bits of its left operand to the left side by using the number of positions specified by its right operand. For each shift operation, a zero bit is pushed into the lower-order (rightmost) bit position, and the higher-order (leftmost) bit is pushed out (or discarded). The left 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 ArithmeticException?
- What is the printf() method?
- What are assignment operators?
- What is a try block?
- SCJP CX310-055 Short Notes: Exam passing tips