Integer: Integer is a number without decimal point and exponent sign, occupying 2 bytes (16 bits) in memory, and its value range is -32768~32768. For example, 1, 2, 100, -5007, etc.
Long: The number composition of a long integer is the same as that of an integer except that it occupies 4 bytes (32 bits) in memory, and its value range is-2147483648 ~ 2147483647.