EPAM Systems interview question

Based on oops and Ds in TR