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
What does the unset() function means?
Is php secure?
How does php isset work?
Which method removes the last element from the end of an array?
What language is php based on?
What is the difference between indexed and associative array?
What is difference between sql and php?
How to get a random value from a php array?
What are the advantages of triggers in php?
Explain Constant in Class?
What is putenv?
Will a comparison of an integer 12 and a string "13" work in php?
Describe the security vulnerability of PHP?
Is PHP an open source software?
What is api used for?