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 pagecontext and servletcontext?

5 Answers   JBA Infotech, TCS,


What is a condition in programming?

0 Answers  


Explain the importance of throwable class and its methods?

0 Answers  


what is Dictionary? and what purpose it is used for?

3 Answers  


Why singleton class is used in java?

0 Answers  


What is Exception handling in Java How do you handle run time errors please explain with an example

2 Answers   Mastek, TCS,


What are the Memory Allocations available in JavaJava?

1 Answers  


What is rmi and steps involved in developing an rmi object?

0 Answers  


When do we use hashset over treeset?

0 Answers  


What is the difference between C++ & Java?

78 Answers   College School Exams Tests, HAL, SUN, Syntel, TCS, Wipro,


What is length in java?

0 Answers  


Does list maintain insertion order java?

0 Answers  


Categories