Capgemini interview question

simple oops concept and introduction