SE450: Litmus Test [56/72] Previous pageContentsNext page

  1. Component objects can be decorated (visually or behaviorally enhanced)
  2. The decorated object can be used in the same way as the undecorated object
  3. The component class does not want to take on the responsibility of the decoration
    FAIL--the component class has setBorder method
  4. There may be an open-ended set of possible decorations

Previous pageContentsNext page