Capital One Interview Question

if it's a Java role using Spring, you may get pointed questions about Inheritance vs. Composition and differences between Service, Component, and Repository.

Interview Answer

Anonymous

Oct 14, 2019

I said "Composition over Inheritance" and I said "Service, Component, and Repository" are technically interchangeable, but have different meanings semantically."