SE450: Types: Declared and Actual Types [27/47] |
Declared type = Static type = Compile-time type.
type of the reference.
Actual type = Dynamic type = Run-time type.
type of the object -- to which the reference refers.
Java community refers to type of variable
versus
class of object
.