What is the range of the short datatype?

Answer Posted / eswaran.s

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

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is integer size in java?

503


What does i ++ mean in Java?

496


Why singleton class is used in java?

566


How can an exception be thrown manually by a programmer?

506


What is floor in java?

552






What is the difference between preemptive scheduling and time slicing in java programming?

528


What is unmodifiable list in java?

528


What is an error in java?

635


Why we use methods in java?

530


How many bits is a float?

533


Do you know why doesn't the java library use a randomized version of quicksort?

546


What will be the default values of all the elements of an array defined as an instance variable?

544


Is it safe to install java on my computer?

533


Do you know how to reverse string in java?

578


What does || mean in code?

538