When two or more interfaces have the same method name, it's an example of method ________ in PHP.

  • 'polymorphism'
  • 'abstraction'
  • 'overloading'
  • 'inheritance'
When two or more interfaces define a method with the same name but possibly different implementations, it's called method overloading in PHP, allowing multiple ways to use the method with the same name.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *