1.short has at least 16 bits.
2.int is at least as long as short.
3. The length of long is at least 32 bits, at least as long as int.
The specific difference is as shown in the figure:
Long integer is a computer programming language, which is the representation of data types in programming. Generally speaking, Long is used to represent long integers. Long is a signed 64-bit integer with the range of -2 63-2 63- 1 int 64.
Basic technical terms in computer. Integer values can be specified with decimal, hexadecimal, or octal symbols and can start with an optional symbol (-or+). This is an intelligent calculation method.
References:
Sina blog-original