Pergunta de entrevista da empresa MathWorks

What is inheritance also code the same.