MathWorks Interview Question

can we have virtual constructor