A

Admin • 833.24K Points
Coach

Q. What is the result of the expression 1 << 3 in Java?

  • (A) 8
  • (B) 4
  • (C) 2
  • (D) 3
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category Java
  • Hashtags:

Explanation by: Admin

The << operator in Java is known as the left shift operator.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.