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
Is php used anymore?
What are php data types?
How can we check the value of a given variable is a number?
Do you know what is the use of the function 'imagetypes()'?
How do you pass a variable by value in php?
What is uri routing?
What are the difference between echo and print?
What is difference between echo and print in php?
What does a dependant variable mean?
Is salary a ratio or interval?
What is associative array in php?
How can we set and destroy the cookie in php?
How to remove values saved in the current session?
Explain whether it is possible to share a single instance of a memcache between multiple php projects?
What are include() and require() functions?