Hexaware Technologies interview question

OOps concept