MAX_VALUE Field
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Short.MAX_VALUE Field

Visual Studio 2005

A constant that stores the maximum value a short can have.

Package: java.lang

Assembly: vjslib (in vjslib.dll)


public static final short MAX_VALUE;

// sh-MAX_VALUE.jsl
// Short MAX_VALUE example

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

/*
Output:
MAX_VALUE = 32767
*/

The value of MAX_VALUE is 32767.

Show:
© 2016 Microsoft