MathWorks Interview Question

Why Java is generic?