long keyword

Description
The long numeric type represents a 64-bit signed two's-complement integer. The default value of a long instance variable, class variable, and array component  is zero, that is, 0. The value of long is an integer from –9223372036854775808 to 9223372036854775807, inclusive.

Example
You can declare a long variable, and give it an initial value when you declare it:

long aBigValue = 50000000;
long aBiggerValue = aBigValue * 2;

ngrelr.gif (548 bytes)
Java types

Source: The Java Language Specification. Copyright (C) 1996 Sun Microsystems, Inc.