Well, this is both an answer and a reasonable question. I try to simplify this as much as possible. Trying to display the differences. It will not be like this but will try to explain where these “similarities” come from and how they grow into different working planes.
Share:
- There is a base,
– 1. Uses that base (simple prop)
– 2. Uses that base, plus a bit from this, plus a bit from that, and other something because of this, but, because other is used, etc… i think you get the point (airliner).
inheritance:
- There is a base
– 1. Uses that base (simple prop)
– 2. Uses that base, adds functionality (turboprop), extends and adds functionality (jet), extends and adds functionality (airliner)
Well, now combine the shared point 2 and and the inheritance point 2. That’s why it can be difficult to sort it out.
A change in the base (similarity) works for one, but utterly destroys something else, so the similairity can not be fixed, you need to go in each seperate “share” or “inheritance”. Thus also, one inheritance can utterly destroy other inherited functionalities.
Because also one plane is not the other, how much “similarities” there seem to be.