Domanda di colloquio di EPAM Systems

In this code snippet, implement the Dependency Inversion concept (D from SOLID).