< Java Programming < Keywords
short
is a keyword. It defines a 16 bit signed integer primitive type.
Syntax:
short
<variable-name> = <integer-value>;
For example:
short age = 65;
|
See also:
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.