Primitive Data Types (The Java™ Tutorials > Learning the Java Language > Language Basics)
Integer Literals An integer literal is of type long if it ends with the letter L or l; otherwise it is of type int. It is recommended that you use the upper case letter L because the lower case letter l is hard to distinguish from the digit 1. Values of t...