A

Admin • 828.03K Points
Coach

Q. What is the range of values that can be stored in a short variable in Java?

  • (A) -128 to 127
  • (B) -32,768 to 32,767
  • (C) 0 to 65,535
  • (D) -1,000,000 to 1,000,000
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
The correct answer is Option B: -32,768 to 32,767.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.