Question: What is polymorphism?Answer: Polymorphism allows objects of different classes to be treated as objects of a common base class. It includes method overloading and overriding. |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Object-Oriented Programming (OOP)?
- Explain the four pillars of OOP.
- How does inheritance work in PHP?