Chapter 7
- Arrays
- Declaring
- Initializing
- Accessing elements
- Bounds checking
- Traversing every element by index
- Passing arrays as parameters (passing by reference)
- Return arrays from methods
- Array algorithms: max, min, linear search, sum, count occurrences
- Binary search
- For each loops
- Sorting
- Arrays class: toString, sort methods
|
Chapter 8
- Two Dimensional Arrays
- Declaring and initializing a 2D array
- Accessing elements in a 2D array
- Iterating through all values in a 2D array
- Non-rectangular arrays
- Passing 2D arrays as parameters
- Returning 2D arrays from a method
|
Chapter 9
- Objects
- Classes
- Data fields
- Methods
- Static data/methods
- Constructors
- Creating objects with new.
- Accessors and Mutators
- private and public
- Passing objects as parameters
- Returning objects from methods
- Arrays of objects
- this to reference data fields
- this to call constructors
- Variable scope
- null keyword
|