Memory for Java Applications
See pages 200-204 in text for a summary.
Major types and structures
- Primitive types vs. objects
- Arrays of primitive types
- Arrays of objects
- Arrays of arrays
Overview and sizes of primitive types
Discussion questions
- When an array of objects is sorted, what is swapped?
- Is obtaining the length of an array a constant time or linear time operation?