5 years ago in Java Operators

# Which of these statements are incorrect?

[A] The left shift operator, <<, shifts all of the bite in a value to the left specified number of times.
[B] The right shift operator, >>, shifts all of the bite 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.

## Overall Stats

Attempted 152
Correct 35
Incorrect 52
Viewed 65

Shamsa hafeez - 4 days ago

Shamsa hafeez from Lahore, Pakistan is saying The right shift operator automatically fills the higher order bits with 0. is correct answer

Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying The left shift operator can be used as an alternative to multiplying by 2. is correct answer

Cos Sinus - 1 month ago

Cos Sinus from Casablanca, Morocco is saying The left shift operator can be used as an alternative to multiplying by 2. is correct answer

Awa Kone - 1 month ago

Awa Kone from Berrechid, Morocco is saying The left shift operator can be used as an alternative to multiplying by 2. is correct answer

Zo Go - 1 month ago

Zo Go from Casablanca, Morocco is saying The right shift operator automatically fills the higher order bits with 0. is correct answer

## Related Questions

• [A] ~
• [B] <<<
• [C] >>>
• [D] ^

• [A] 24,8
• [B] 24,9
• [C] 27,8
• [D] 27,9

• [A] &
• [B] &=
• [C] |=
• [D] <=

### what is the output of the program ?``````class Equals { public static void main(String [] args) { int x = 100; double y = 100.1; boolean b = (x = y); System.out.println(b); } }``````

• [A] true
• [B] false
• [C] Compilation fails
• [D] An exception is thrown at run time

• [A] 1
• [B] 32
• [C] 33
• [D] 31