Java Variable/Expression Types
Each Java variable or expression has a definite type, given by a declaration such as
There are three "types" of types!
- There are Primitive or Simple types such as integers or booleans which are built-in.
- New composite types (objects) can be constructed in terms of classes and interfaces. The type of an object is its class or interface
- Arrays we will see are a sort of "almost" object!