Clearly, the result could not have been held in an int variable. The smallest integer type is byte. Variables of type byte are especiallyuseful when working with raw binary data that may not be directly compatible with Java’s other built-in types. The short type creates a short integer. Variables of type short are appropriate when you don’t need thelarger range offered by int.