MathWorks Interview Question

Object oriented design questions with diagrams