CMPUT 301

Software Engineering

Class Participation Exercise: Factory Method Pattern (Mar 29)


Class Participation Exercise: Factory Method Pattern

Design a framework using the Factory Method Pattern for:

Write a general newDocument method in Application that ultimately instantiates a MyDocument if your application is a MyApplication.