Java OCA OCP Practice Question 2722

Question

What is the output of the following statement?

System.out.println( 16  >>>  3);
  • a. 1
  • b. 2
  • c. 4
  • d. 8


b

Note

The bit sequence 0001000 is shifted to the right 3 positions with a zero sign fill.




PreviousNext

Related