EPAM Systems Interview Question

There was a question about interface segregation principal.