EPAM Systems interview question

Overloading y overwriting