Java short Type
Short Type In Java
This data type can store numbers from -32768 to 32767. This can be used instead of int when the inputting value is in 2-byte space or less.
We can use (short) to convert any other data type value into short type value.
short num =(short)244;