- A Short is a datatype which is responsible for holding the whole number values but it has a very short range as compared to an integer. Example – 23, 87, 10, 0, -29
- Range of Short Datatype is in between -32,768 to 32,767.
- Short datatypes can take up to 2 bytes of memory.
- It can be declared using the keyword “short”.
The range of other datatypes
Example of short datatype
short age; short range; short num;