Question OOP-INH-0072
HardWhy is 'favour composition over inheritance' good advice?
- A.
Inheritance can't reuse code
- B.
Composition couples classes less tightly and lets behaviour change at run time
- C.
Sign up free to see the answer and a step-by-step explanation.