Vidyalelo
Java Programming · Q73

Operators

Programming · Java Programming · question 73

Q73

Which of these statements are incorrect?

A.
The left shift operator, <<, shifts all of the bits in a value to the left specified number of times
B.
The right shift operator, >>, shifts all of the bits in a value to the right specified number of times
C.
The left shift operator can be used as an alternative to multiplying by 2
D.
The right shift operator automatically fills the higher order bits with 0
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board