Java OCA OCP Practice Question 1263

Question

What is the range of the short type?

  • A. 0 to 2 ^ 16
  • B. -(2 ^ 16) to 2 ^ 16
  • C. -(2 ^ 15) to 2 ^ 15
  • D. -(2 ^ 15) to 2 ^ 15- 1


D.

Note

The range of the short type is -(2^15) to 2^15- 1.




PreviousNext

Related