Define properties tostring methods and a minimum of one


Problem

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.

Exercise 1

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 properties, ToString( ) methods, and a minimum of one virtual method. The ToString( ) method should return the name of the sport and coach.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Define properties tostring methods and a minimum of one
Reference No:- TGS02646869

Expected delivery within 24 Hours