Cognizant interview question

Oops concepts Dbms Basic aptitude