Mega Code Archive

 
Categories / Java Book / 001 Language Basics
 

0009 short

short is a signed 16-bit type. short type variable has a range from -32,768 to 32,767. Here are some examples of short variable declarations: short s; short t;