The only unsigned primitive integer type in Java is the 16 bit char
datatype; all of the other primitive integer types are signed. To interoperate with native languages, such as C or C++, that use unsigned types extensively, read unsigned values into the next larger Java signed primitive integer type. For example, use a long
to hold an unsigned 32-bit integer value obtained from native code.
...