Types, Classes, Interfaces
Types
What does type information tell us about a variable?
- How much memory the value requires (critical when a primitive
type variable is declared or when an object is constructed).
-
- How the data is represented in memory.
- What operations are available for it, what methods are defined,
and when it can be used in an expression or as a parameter.
-
Alyce Brady, Kalamazoo College