Java Polymorphism

Polymorphism is combination of two words ‘poly’ means many and ‘morph’ means forms. It is the ability to take more than one form. Polymorphism allows one interface to be used for a general class of action.

It basically refers to the ability of giving the same name to methods in different subclasses. The individual methods may implemented by type of argument passed to them. Different methods can be created with the same name but with the different parameters.

Leave a Reply

Your email address will not be published. Required fields are marked *