Capgemini interview question

Basic oops concepts?