1, Boolean type: A storage unit that usually occupies 1 byte (8 bits).
2. Character type: It usually occupies a storage unit of 1 byte (8 bits) or 2 bytes (16 bits), depending on the encoding method.
3. Integer type: The size of the occupied storage unit depends on the specific data type. For example, an int type usually takes up 4 bytes (32 bits) and a long type usually takes up 8 bytes (64 bits).
4. Floating-point type: The size of the occupied storage unit also depends on the specific data type. For example, the float type usually occupies 4 bytes (32 bits) and the double type usually occupies 8 bytes (64 bits).