Java Reference
In-Depth Information
SOLUTION 6.3
Figure B.7 shows a solution.
Figure B.7. The abstraction—a hierarchy of types of controllers—is separated from
implementations of the abstract
driver
object that the abstraction uses.