Third Edition – Answers to Selected Questions and Exercises
Each chapter in the book has Self-review Questions, Programming Exercises and Challenges. This is the page which deals with the answers. Not all questions, exercises and challenges have answers here. Over time, though, more and more answers appear, as we write them, or as people send us answers that we add (attribution will always be given). Also feel free to send us alternate answers to the ones we have and we will add those in as well (again proper attribution will always be given).
These then are ‘living documents’, they will evolve over time. There is a date associated with each file which is the last changed date from the Subversion repository of the file from which the PDF is generated. The purpose of these is to allow you to quickly ascertain whether there have been updates since you last looked at them.
As well as having a single book form of the answers, we have answers for chapter individually. The intention is to make the files as useful as possible, so if you have any feedback, please do contact Russel Winder at russel@devjavasoft.org.
| The whole book | book.pdf | |
| Chapter 1 | introduction.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 2 | programmingFundamentals.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 3 | addingStructure.pdf | 2006-11-01 22:30:22 +0000 |
| Chapter 4 | introducingContainers.pdf | 2006-11-02 22:19:24 +0000 |
| Chapter 5 | drawingPictures.pdf | 2006-11-13 22:31:40 +0000 |
| Chapter 6 | classesAndObjects.pdf | 2006-12-04 11:55:04 +0000 |
| Chapter 7 | classRelationships.pdf | 2006-11-26 13:13:54 +0000 |
| Chapter 8 | exceptions.pdf | 2006-11-13 12:29:10 +0000 |
| Chapter 9 | introducingConcurrencyWithThreads.pdf | 2007-01-01 12:31:10 +0000 |
| Chapter 10 | userInterfaces.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 11 | programmingProcess.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 12 | unitTesting.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 13 | testDrivenProgrammingStrategies.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 14 | programmingTools.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 15 | introducingTheCaseStudies.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 16 | contactsBook.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 17 | pedestrianCrossingSimulation.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 18 | aJavaLanguageReference.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 19 | variablesTypesAndExpressions.pdf | 2006-11-26 14:41:25 +0000 |
| Chapter 20 | flowControl.pdf | 2006-12-02 14:52:23 +0000 |
| Chapter 21 | classesAndPackages.pdf | 2006-11-26 23:08:12 +0000 |
| Chapter 22 | inheritanceAndInterfaces.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 23 | exceptionHandling.pdf | 2006-10-27 18:54:18 +0100 |
| Chapter 24 | threadsAndConcurrency.pdf | 2006-10-27 18:54:18 +0100 |