Pergunta de entrevista da empresa Tavant

Why are there two kinds of polymorphism in Java