Cognizant interview question

All basic oops related questions