K1Lesson 32 of 49about 180 minutes
Module 1.4 · Object orientation
Composition over inheritance
What you learn in this lesson
- let a class inherit from another and adapt methods with virtual and override
- use abstract and sealed correctly
- recognize why hiding instead of overriding is a mistake
- put behavior together from swappable parts instead of stacking subclasses
- give the Kladde reminders through swappable channels
This lesson belongs to course K1
You will see this lesson's text and video once you have bought the course. The goals above show what you learn here.
€149.00
incl. VAT, one-time payment
Access to all of the course's lessons with their exercises, solutions and videos on this site, for 24 months from the purchase. A self-study course: no tutoring, no exams or grading by us, and no certificate.
Sign in and buy