Reference Types
These are the types associated with composite entities like objects and arrays.
They are called reference types because a variable or expression in a Java program with reference type represents a reference (or pointer) to a composite entity.
- Any variable of reference type may take the value null.
Reference types can be divided into:
- Class types
- Interface types (discussed later)
- Array types