What is the range of short data type in Java?

Q & ACategory: JavaWhat is the range of short data type in Java?
Admin Staff asked 5 years ago

What is the range of short data type in Java?
a) -128 to 127
b) -32768 to 32767
c) -2147483648 to 2147483647
d) None of the mentioned

1 Answers
Admin Staff answered 5 years ago

b) -32768 to 32767