MathWorks interview question

OOPS concepts,debugging questions