EPAM Systems interview question

Basic questions Oops Design pattern