Skip to content

Primitive types and basic operations

Primitive Types

Screen Shot 2020-05-02 at 10.33.18 AM.png

char 2 bytes

2's complement

flip all digit and +1

Default Value

Instance field: 0 false null Local variable: not allow -> will throw compile exception


Last update: August 17, 2020