MathWorks Interview Question

Object Oriented design concept. virtual, polymorphism, Inheritance