Junior — Middle
Are integer data types signed or unsigned?
sobes.tech AI
Answer from AI
In Java, all integer data types are signed. This means they can store both positive and negative values. For example, the types byte, short, int, and long have signed ranges. Java does not have built-in unsigned integer types (except for some operations with char, which is an unsigned 16-bit type, but not used as an integer type for arithmetic).