Pergunta de entrevista da empresa Intel Corporation

How does polymorphism differ from inheritance?