Description
The classes Media, Audio and Video would be abstract classes, as one would not instantiate objects of those types. The class Artist is used to describe artists of any kind from producers, directors, band members or movie actors. While is-a inheritance is shown through the specialization hierarchy of Media, Audio, Video, Cd, and DVD; has-a relationship is shown through the class Artist with Media, Audio, and Video all having Artists as data members. It might be necessary to create other methods for any of the classes.