The
data type can have values from
to
(64-bit signed two's complement integer). If you are using Java 8 or later, you can use unsigned 64-bit integer with a minimum value of 0 and a maximum value of
. Default value is 0.
Notice, the use of L at the end of . This represents that it's an integral literal of the long type. You will learn about integral literals later in this section.