MathWorks Interview Question

draw the class diagram