Pergunta de entrevista da empresa Quantitative Risk Management

What do you understand by polymorphism and inheritance?