Pergunta de entrevista da empresa Infosys

What is inheritance in Java