HardConceptObject-oriented programming
What is the difference between composition-based design and deep inheritance hierarchies, and why do deep ones hurt?
This answer is part of Pro
14 of 303 CS fundamentals for freshers answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhat are coupling and cohesion, and what do you want of each?Next A subclass overrides a method and the parent constructor calls that method. What can go wrong?