Back
A) -128 to 127
B) -32768 to 32767
C) -2147483648 to 2147483647
D) None of the mentioned
The correct answer to the question “What is the range of short data type in Java” is option (B). -32768 to 32767. Because 16 bits in memory is what short occupies in Java. If you wish to learn Java and get certified check out the Java certification course from Intellipaat. Also, watch the following video on Java Interview Questions and Answers.
31k questions
32.8k answers
501 comments
693 users