Export (0) Print
Expand All

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.

Community Additions

ADD
Show:
© 2014 Microsoft