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

How do you initialize an arraylist in java?

513


What is difference between this and super keyword?

519


Can an interface implement another interface?

576


What is the difference between class forname and new?

552


What are the main differences between the java platform and other platforms?

532






What is computer compiler?

536


Explain the meaning of java applet.

607


How are java objects passed to a method and what are native methods?

594


What is internal variable?

540


In java, how we can disallow serialization of variables?

557


Which are different kinds of source code?

662


Give any two differences between C++ and java.

561


How do you access command-line arguments within the code?

573


How many bits is a string?

525


What is difference between overloading and overriding in java?

530