In this segment you will see how to create class hierarchies, with subclasses inheriting from superclasses. It also looks at the pros and cons of complex inheritance, plus composition and inheritence as alternatives.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Class hierarchies

  • Coen de Groot

摘要

In this segment you will see how to create class hierarchies, with subclasses inheriting from superclasses. It also looks at the pros and cons of complex inheritance, plus composition and inheritence as alternatives.