State Farm Interview Question

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

Interview Answer

Anonymous

Feb 22, 2021

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