Multiple Inheritance

Question:
I read somewhere that Object Pascal, the language used in Delphi, does not support multiple inheritance. Is this true?

Answer:
Yes, this is true. Object Pascal’s inheritance model follows the Single Inheritance path. Is this a weakness? Perhaps for some, but there have been very few times in any of my programs or components that multiple inheritance makes sense.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: