Integer Literals
Integers are possibly the most generally used type in the typical program. Some whole number value is an integer literal. Instance is 1, 2, 3 and 42. Those are all decimal values, meaning of that are describing a base 10 numbers. However, to specify a long literal, you will require to explicitly tell the compiler that the literal value is of
type long. You do this through appending an upper-or lowercase L to the literal. For instance, 0x7gggggggggggL or 9223372036854775807L is the largest long.