Domanda di colloquio di Tata Consultancy Services

Basic oops question, dependency injection