short variable java code example Example: short java short numberMin = -32768; short numberMax = 32767;