Bruce Eckel's Thinking in Java Contents | Prev | Next

Exercises

  1. (Challenging) Rewrite FieldOBeasts.java so that its state can be persistent. Implement buttons to allow you to save and recall different state files and continue running them where they left off. Use CADState.java from Chapter 10 as an example of how to do this.
  2. (Term project) Taking FieldOBeasts.java as a starting point, build an automobile traffic simulation system.
  3. (Term project) Using ClassScanner.java as a starting point, build a tool that points out methods and fields that are defined but never used.
  4. (Term project) Using JDBC, build a contact management program using a flat-file database containing names, addresses, telephone numbers, email addresses, etc. You should be able to easily add new names to the database. When typing in the name to be looked up, use automatic name completion as shown in VLookup.java in Chapter 15.
)

Contents | Prev | Next