EPAM Systems interview question

Use of the Type class