Consider the class Bicycle. Given your knowledge of some common components of bicycles (consider class members of different access specifiers: public, private, and protected),
show a class hierarchy in which the class Bicycle inherits from other classes, which, in turn, inherit from yet other classes. Discuss the creation of various objects of class Bicycle.
Discuss inheritance from class Bicycle for other closely related derived classes.
Consider the class Bicycle. Given your knowledge of some common components of bicycles (consider class members of different access specifiers: public, private, and protected),
show a class hierarchy in which the class Bicycle inherits from other classes, which, in turn, inherit from yet other classes. Discuss the creation of various objects of class Bicycle.
Discuss inheritance from class Bicycle for other closely related derived classes.