Capgemini interview question

Basic OOPS Concepts like inheritance etc