MathWorks interview question

What is a virtual function? Leetcode medium questions