Which integer type has the smallest size and how many bits does it occupy?
Explanation
Among integer types, the 'byte' is the smallest, occupying 8 bits. The 'short' type typically uses 16 bits, making it larger than a byte.
Among integer types, the 'byte' is the smallest, occupying 8 bits. The 'short' type typically uses 16 bits, making it larger than a byte.