MathWorks interview question

Code snippet having inheritance and constructor calls