What is polymorphism in oop php?
Answer / Anup Kumar
Polymorphism in Object-Oriented Programming (OOP) PHP allows objects of different classes to be treated as if they were instances of a common base class. This enables a method call on an object to behave differently based on the actual class of the object, enhancing flexibility and reusability.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are escaping characters? Explain with an example?
What is the use of ajax in php?
What are the options to transfer session ids?
Tell me how is it possible to return a value from a function?
Are php session secure?
Are sessions stateless?
How do you count numbers in php?
What is a persistent cookie in php?
What does $_cookie means?
Can we extend multiple classes in php?
Tell me how stop the execution of a php scrip?
How to process the uploaded files?