Capgemini Invent Interview Question

Basic oops concepts?