class to hold information about sporting teams
Create a base class to hold information about sporting teams on campus. It should not be possible to instantiate the class. Include common characteristics such as primary coach and type of sport. Define a minimum of one virtual method.2) Select two types of sporting teams and define subclasses for them. These classes should inherit from a base team class such as that created in Exercise #1. Include unique characteristics about the sport. For example, for a sporting team such as a tennis team, the field location and/or the person to contact to restring rackets may be of interest. Be sure to implement any virtual methods included in the base class.3) Create a class to test your designs of the base team class and individual sporting team subclasses. Your class can be a console or Windows application. Make DLL components out of the sporting classes and add a reference to them in the presentation class.
You'll get 1 file (56.0KB)