What is the range of the short datatype?

Answers were Sorted based on User's Feedback



What is the range of the short datatype?..

Answer / eswaran.s

short is a signed 16 bit type and range from -32768 to 32767.

Is This Answer Correct ?    11 Yes 0 No

What is the range of the short datatype?..

Answer / pkr_reddy

short is a signed 16 bit type and range from -32768 to 32768.

Is This Answer Correct ?    9 Yes 6 No

Post New Answer

More Core Java Interview Questions

Can a static method be final?

0 Answers  


What is the purpose of return statement?

0 Answers  


Define linked list and its features with signature?

0 Answers  


What is data member in java?

0 Answers  


Explain inner classes ?

0 Answers  






Why transient variables wont participate in serialization?

2 Answers  


What are null interfaces? Give some examples?

2 Answers  


Can static methods access instance variables in java?

0 Answers  


What is the difference between static synchronize() metod and synchronize() method?

1 Answers   Polaris,


What is the exact difference in between Unicast and Multicast object ?

4 Answers   Accenture,


Catch(Exception e){ } in that what is Exception and purpose of that in that place exactly?

3 Answers  


What is lambda expression in java?

0 Answers  


Categories