Domanda di colloquio di MathWorks

Inheritance related questions. And the coding challenge has one inheritance question.