Capgemini Invent interview question

Basic oops concepts?