Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

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

user-image
Question added by Rashid Anwar , senior php developer , sparx it solution pvt ltd.
Date Posted: 2013/09/24
Umer Talha
by 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

Deleted user
by Deleted user

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

More Questions Like This