What are some easy to understand *bad* examples of using inheritance?
I'm looking for bad examples of using inheritance. I'm not very creative so this was the best I could think of: class Car : public Engine {} A car has an engine, but it is not an engine. This would probably work to explain the concept, but I believe there are more illustrative examples? ...