1.

What Is The Primitive Type Short?

Answer»

The TYPE short is a primitive Java data type that uses TWO bytes to represent a number in the range -32768 to 32767. The Java type short is identical to the two-byte hit in many C/C++ COMPILERS.
The following statements declare two variables of type short:
short age;
short height, WIDTH;

The type short is a primitive Java data type that uses two bytes to represent a number in the range -32768 to 32767. The Java type short is identical to the two-byte hit in many C/C++ compilers.
The following statements declare two variables of type short:
short age;
short height, width;



Discussion

No Comment Found