Java, Java Basics, Java Class, Java Object, Java Polymorphism, Object Oriented

Polymorphism concept to the beginners.

Most common question asked in interviews is the OOPS concept details , meaning and example. Today, I will be sharing some real life example of Polymorphism and in my coming blogs I will be sharing some real time examples of other OOPS concept.

This is basically a concept by which one API once written can be used by many other similar classes. We will see how we can implement and use polymorphism in Java.

Java is a language which supports flexibility of code to a good extend. Here code written in single class can be used by other classes also.  Poly- means many and morph- means form . So an ability of classes to have different forms is known as Poly-morphism.

Continue reading “Polymorphism concept to the beginners.”