What is the range of data type short in Java?
-128 to 127
-32768 to 32767
-2147483648 to 2147483647
None of the mentioned
Explanation:
Short occupies 16 bits in memory. Its range is from -32768 to 32767.
Short occupies 16 bits in memory. Its range is from -32768 to 32767.