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.
Loading...
Related Quiz
- Which of the following are true about arrays in PHP?
- What are some common operations you might perform on a MySQL database using PHP?
- The filter_input_array() function in PHP is used to get the ______ values and optionally filter them.
- How are variables in PHP declared?
- What can be the potential issues with a while loop in PHP?