Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the difference between static polymorphic and dynamic polymorphic in OOP? please explain with an example using php language.

user-image
Question ajoutée par Rashid Anwar , senior php developer , sparx it solution pvt ltd.
Date de publication: 2013/09/24
Umer Talha
par Umer Talha , Software Engineer , goodcore softwares inc.

Rashid,

 

Static polymorphism is compile time binding where dynamic polymorphism is run time binding. In real work application example is if you use php frameworks like zend , yii and ci they all uses abstract and interface class by which developer use them for there own need.

 

Regards

Utilisateur supprimé
par Utilisateur supprimé

Read this http://net.tutsplus.com/tutorials/php/understanding-and-applying-polymorphism-in-php/

More Questions Like This