Cognizant Interview Question

Oops concepts and basic dbms