Polymorphism – means the ability of a single variable of a given type to be used to reference objects of different types, and automatically call the method that is specific to the type of object the variable references. In a nutshell, polymorphism is a bottom-up method call. The benefit of polymorphism is that it is very easy to add new classes of ...

Read More

Overriding : Declaring a method in subclass which is already present in parent class is known as method overriding. This is also known as run-time polymorphism. Here a sub class or a derived class provides detailed implementation of a method which is already declared or defined in the parent class. The implementation to be executed is decided at ru...

Read More

FOLLOW US ON LinkedIn



Explore Tutu'rself