Cognizant interview question

DI injection, interface usage