April 2019
Intermediate to advanced
360 pages
9h 17m
English
The following UML class diagram shows that our Printer Buffer Flusher Demo application includes a Printer class and a ConcretePrinter class that extends the Printer class. There are also two concrete decorator classes (ConcreteDecorator1 and ConcreteDecorator2) that extend the AbstractDecorator class:

As illustrated here, the DecoratorDriver class is used to drive the application and contains the main() method.
Read now
Unlock full access