How to implement multiple inheritance in delphi?

前端 未结 9 786
一向
一向 2020-12-03 11:22

I\'m doing a full rewrite of an old library, and I\'m not sure how to handle this situation (for the sake of being understood, all hail the bike analogy):

I have the

9条回答
  •  感动是毒
    2020-12-03 11:32

    Delphi does not support Multiple Inheritance. But classes can support / implement multiple interfaces and you can delegate interface implementation, so you can kinda simulate multiple inheritence.

提交回复
热议问题