Uline Interview Question

What is the definition of Polymorphism

Interview Answer

Anonymous

Apr 16, 2024

Basically each subclass can be used the same way as its parent class or classes. Simple example You have a pet class and you have a dog and a cat. they all have a makesound methods, but a cat sound and the dog sound are different, but the methods are all the same.