Multiple choice

What is the output of the given program?

public class Example {
 public static void main(String[] args) {
   System.out.println(128 << 4 << 3 << 2 >> 6); // Line 1
   }
}

  1. 65536

  2. 1024

  3. 0

  4. Divide by zero exception

  5. Error at line 1

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is the correct answer.