Java Programming/Keywords/long

is a keyword which designates the 64 bit signed integer primitive type.

The java.lang.Long class is the nominal wrapper class when you need to store a value but an object reference is required.

Syntax:

 <variable-name> = <integer-value>;

For example:

long timestamp = 1269898201;


See also: