MathWorks interview question

Pointers, Inheritance - Virtual Functions, Constructors, Destructors and the like