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

Exercises

  1. Using SingletonPattern.java as a starting point, create a class that manages a fixed number of its own objects.
  2. Add a class Plastic to TrashVisitor.java.
  3. Add a class Plastic to DynaTrash.java.
Q

Contents | Prev | Next