Java short type

Introduction

Java short type is a signed 16-bit type.

It has a range from -32,768 to 32,767.

It is the least-used Java type.

Here are some examples of short variable declarations:

short s;  
short t; 



PreviousNext

Related