Home/Resources/OOPS Interview QuestionsOOPS Interview Questions · Question 09Why is composition often preferred over inheritance?Interview preparation resource from Gate Smashers.Understand it clearlyGive an example.Continue preparingRelated OOPS Interview Questions questions08What is the difference between an abstract class and an interface, and when would you choose each?▶10What happens when a base-type reference refers to a derived object and an overridden method is called?▶01What is object-oriented programming?▶View all 25 questions ▶