Jnr PHP/Codeigniter Developer Question:

Download Job Interview Questions and Answers PDF

Do you know what is Polymorphism?

Jnr PHP/Codeigniter Developer Interview Question
Jnr PHP/Codeigniter Developer Interview Question

Answer:

It is the basic principle of OOP. You can define base class (may be abstract) Animals and it can then be extended by other classes like Dog, Cat and take part of the behaviour from the parent class.

Download Jnr PHP/Codeigniter Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us can you send an Ajax request to another domain?Tell me does PHP support multiple inheritance?