HCLTech Interview Question

Inheritance vs Composition Microservices architecture