Java: Range of a short

A short is a signed 16-bit integer.

Min value (inclusive) and max value (inclusive):

−32,768 … 32,767

or, equivalently

−215 … 215−1

These values are available as constants: Short.MIN_VALUE and Short.MAX_VALUE.

See ranges of all primitive types here: Ranges of Primitive Types