+ 5

What is the real time example of the concept polymorphism?

Example

18th Apr 2019, 5:39 PM
shu
shu - avatar
6 Respuestas
+ 8
In Python classic is 2*2 -> 4 but "2"*2 -> "22"
18th Apr 2019, 6:09 PM
Hubert Dudek
Hubert Dudek - avatar
+ 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.
19th Apr 2019, 8:47 AM
Roma Mandal
Roma Mandal - avatar
0
Please help me
19th Apr 2019, 8:21 AM
Ehsan
0
💜
19th Apr 2019, 12:24 PM
Dhy MeNes
Dhy MeNes - avatar
0
Welcome
19th Apr 2019, 10:09 PM
Ben aouina Noureddin
Ben aouina Noureddin - avatar