Capgemini interview question

oops concept , cn question dbms