Software
Polymorphism in Java
In this tutorial, we will learn about the Polymorphism in Java or Varargs in Java. How to use them with the help of examples. Polymorphism means is many forms. It occurs when we have many classes that are relate to each other by inheritance is know as Polymorphism. In other words, One thing with many forms. Polymorphism is a one of the important features of Object-Oriented Programming. Polymorphism is derive from two Greek word :- poly and morphs. The word poly means ‘many’ and morphs means ‘forms’. A concept by which we can perform a single action in different ways.