See also the lecture notes and examples.
| Topic | L&L 4th edition | L&L 3rd edition | Other Readings |
|---|---|---|---|
| Background | 1.1, 1.2, 1.5 | 1.0, 1.1, 1.4 | |
| Java Basics | 1.4, 2.1–2.5 | 1.3, 2.1–2.5 | |
| Control Structures | 5.1–5.5, 5.7–5.8, 2.6 | 3.2–3.8 (misses Scanner class) |
|
| Methods & Classes | 4.3, 3.3 | 4.2, 2.7 | |
| Recursion | 11.1–11.3 | 11.0–11.2 | |
| Arrays & Searching | 7.1–7.2, 7.6–7.7, 9.5 | 6.0–6.1, 6.3–6.4 (misses “Searching”) | |
| Running Time | See links for other materials. | ||
| Sorting 1: Insertion Sort | 9.4 | 6.2 | See links for other materials. |
| Sorting 2: Merge Sort | See links for other materials. | ||
| Classes and Objects | 1.6, 3.1, 3.8 | 2.0–2.1, 2.6, 5.0–5.2 | |
| Creating Classes | 4.1–4.4 | 4.0–4.2 | |
| Miscellaneous Java | 7.7, 3.8, 6.8, 3.6 | 6.4, 5.2, 4.3 (no formatting output) | |
| Working with References | 5.0 | ||
| Object-Oriented Design | 6.1–6.2 | 10.0–10.3 (contains much more than 4th ed) | |
| Design Example | |||
| Class Relationships | 4.1, 6.4 | 4.1, 4.5 | |
| Method Design | 6.7 | 4.4 | |
| Interfaces | 6.5 | 5.5 | |
| Inheritance | 8.1–8.2 | 7.0–7.1 | |
| Design with Inheritance | 8.3–8.5 | 7.2–7.3 | |
| Polymorphism | 9.1–9.3 | 7.4–7.5 | |
| Exceptions | 10.1–10.5 | 8.0 | |
| The Call Stack | |||
| File Output | 10.6 | 8.1–8.3 (contains much more than 4th ed) | See links for other materials. |
| File Input | See “File Output”. | ||
| Scanning Tokens | See links for other materials. | ||
| Regular Expressions | See links for other materials. |