Pergunta de entrevista da empresa Tata Consultancy Services

what is inheritance and how we do