Note
Strongly typed language
variables have datatype
primitive and user defined datatypes
- integer: byte, short, int, long
- Boolean: bool
- float: float, double
- charcater: char
literals
- Number literal normally is decimal, 0b is binary, 0x is hexa, and we can also have _ for number system presentaion, can use scientific notation using e like 6e12.
Conversion
- Implicit
- Explicit (Type Casting)
- Type Promotion
Operators
- Assignment
- Arithematic
- Logical
- Relational