< Back
Page 7 of 7
This chapter is from the book
Thought Questions
When someone enters an incorrect value in a cell of a grid, you might want to change the color of the row to indicate the problem. Suggest how you could use a Decorator.
A mutual fund is a collection of stocks. Each one consists of an array, or Collection, of prices over time. Can you see how a Decorator can be used to produce a report of stock performance for each stock and for the whole fund?
< Back
Page 7 of 7