what is interface in php? how it is use?
Answer Posted / raju
Interface gets useful when you need to extend a class from
more than one parent class since class can not do this.
Why would you want to implement just a single interface on a
class. After all, a class already has everything that an
interface has.
| Is This Answer Correct ? | 14 Yes | 8 No |
Post New Answer View All Answers
How do I install php and apache on windows 10?
Explain how to execute a php script using command line.
What is the best php framework 2018?
How do you measure variables?
What is the function to count elements in an array in PHP?
How would you determine the size of a file in php?
How to make database connection in php?
What is user defined function in php?
Is php 5 still supported?
What are encryption functions in php?
What are the __construct() and __destruct() methods in a php class?
How to read a file in binary mode?
Is ruby on rails php?
Does php have a future?
What is string and its function?