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 cohesion?
- What is the Externalizable interface?
- A Closer Look at Methods
- What is inheritance?
- What is the toHexString() method of the Integer class?
