Capgemini Interview Question

Polymorphism in java

Interview Answer

Anonymous

Jul 25, 2020

Polymorphism means "many forms", and it occurs when we have many classes that are related to each other by inheritance.Polymorphism uses those methods to perform different tasks. This allows us to perform a single action in different ways.