+ 5
What is the real time example of the concept polymorphism?
Example
6 Respuestas
+ 8
In Python classic is 2*2 -> 4 but "2"*2 -> "22"
+ 16
The process of representing one form in multiple forms is known as Polymorphism.
Example: Suppose if you are in class room that time you behave like a student, when you are in market at that time you behave like a customer, when you at your home at that time you behave like a son or daughter, Here one person present in different-different behaviors.
So by this u can say, this is a real time example of the concept polymorphism.
0
Please help me
0
💜
0
Welcome