Short
Class Short
- java.lang.Object
-
- java-lang-Number
-
- java.lang.Short
- All Implemented Interfaces:
- Serializable, Comparable<Short>
public final class Short extends Number implements Comparable<Short>
The Short
class wraps a value of primitive type short
in an object. An object of type Short
contains a single field whose type is short
.
In addition, this class provides several methods for converting a short
to a String
and