The primitive type "short" represents an integer number between 32 768 and 32 767. It requires 2 bytes of memory, that is 16 bits.
This data type is used very rarely. You will probably not need it. (Even if you want to store a number that fits into its range, use "int" instead, because Java would internally convert it to "int" during all mathematical calculations anyway.)
This is how values are stored in the memory: Each bit has a specified value. Value of the whole "short" is the sum of the values of active bits. Note the negative value for the highest bit.


viliam@bur.sk