8.3.  Review Questions

[ fromfile: designpatterns-questions.xml id: designpatterns-questions ]

  1. What is a design pattern? What do most design patterns have in common?

  2. What Qt classes use the Visitor pattern? Explain why.

  3. Why does the FileVisitor need to be recursive?

  4. There are three kinds of design patterns: structural, creational, and behavioral. Which kind is the Visitor? Why?