Cognizant interview question

Oops concepts