Select two types of sporting teams and define subclasses for them. These classes should inherit from a
Question:
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. Provide ToString( ) methods in both subclasses that invokes the ToString( ) method in the base class and adds unique characteristics about the individual team to the return value.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: