Pergunta de entrevista da empresa State Farm

General OOP design patterns: SOLID design patterns, would you choose inheritance vs composition when designing classes?

Resposta da entrevista

Sigiloso

22 de fev. de 2021

This seems out of logic. I'd understand if they asked the difference between Aggregation and Composition but that question is just awful.