EPAM Systems interview question

Oops in java One coding question