Rohlik Group Interview Question

What is your opinion about Inheritance vs. Composition