122
Comments
  • 7
    In C++ :

    The first truck has wings, the second truck can float on water and the third track can be used as a bicycle
  • 7
    That's composition though...
  • 8
    Actually, should be the other way around, because inheritance means you "carry" everything from the parent class :)
Add Comment