Lesson 13 & 14 - OOPs Concepts in Java
Lesson 13 & 14 - OOPs Concepts in Java
Lesson 13 & 14 - OOPs Concepts in Java
and
Real-time Example
Polymorphism in Java | Compile Time, Runtime, Example
The word polymorphism is derived from two Greek words: poly and morphs. The word
“poly” implies many and “morphs” means forms.
Therefore, polymorphism means “many forms”. That is one thing that can take many
forms.
Types of Polymorphism in Java
Basically, there are two types of polymorphism in java.
They are:
1. Static polymorphism
2. Dynamic polymorphism
Polymorphism in Java | Compile Time, Runtime, Example
Polymorphism in Java | Compile Time, Runtime, Example