Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (45k points)

A) -128 to 127

B) -32768 to 32767

C) -2147483648 to 2147483647

D) None of the mentioned

1 Answer

0 votes
by (99k points)

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.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Mar 29, 2021 in Java by dev_sk2311 (45k points)
0 votes
1 answer
asked Mar 14, 2021 in Java by Jake (7k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...