+ 3

what are the main functions of a polymorphism

polymorphism

6th Jul 2017, 11:44 PM
Ahmed Bensalem BĂ©larouci
Ahmed Bensalem BĂ©larouci - avatar
2 Answers
+ 8
You can use a common semantics to express your methods Example: circle.draw() rectangle.draw() The method draw() is polymorfic, because can be applied to objects of different class
7th Jul 2017, 12:05 AM
⏩▶Clau◀âȘ
⏩▶Clau◀âȘ - avatar
+ 2
thanks for this precious information
7th Jul 2017, 12:07 AM
Ahmed Bensalem BĂ©larouci
Ahmed Bensalem BĂ©larouci - avatar