Export (0) Print
Expand All

Long.MAX_VALUE Field

Visual Studio 2005

A constant that stores the maximum value a long number can have.

Package: java.lang

Assembly: vjslib (in vjslib.dll)


public static final long MAX_VALUE;

// l-MAX_VALUE.jsl
// Long MAX_VALUE example

public class MyClass
{
    public static void main(String[] args)
    {
        System.out.print("MAX_VALUE = " + Long.MAX_VALUE);
    } 
}

/*
Output:
MAX_VALUE = 9223372036854775807
*/

The value of MAX_VALUE is 9223372036854775807.

Community Additions

ADD
Show:
© 2014 Microsoft