Cognizant interview question

Basics of java and oops