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

What is the difference between a field variable and a local variable?

0 Answers  


What are the advantages of inner classes?

0 Answers  


Which is faster set or list in java?

0 Answers  


Explain the term serialization?

10 Answers   Wipro,


what is the J2EE BluPrints?

0 Answers  






What is the main purpose of java?

0 Answers  


Explain about GridBag Layout?

1 Answers  


Name container classes in java programming?

0 Answers  


What does string intern() method do?

0 Answers  


"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.

2 Answers  


How do you declare an array in java?

0 Answers  


What is the function of java?

0 Answers  


Categories