Pregunta de entrevista de Infosys

What is inheritance in Java