imagine a free tyre making company creat two classes size and rubber base classes for derived class tyre.class size will have function to get data for tyre & to display the dameter class rubberes will have function to get data for material for tyre & to display. tyre class will have function to get data for cost & to display it.
Assignment creating two classes
Collapse
X
Comment