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 is a php form?
How to get no of arguments passed to a PHP Function?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?
Why shouldn't I use mysql_* functions in php?
How the result set of mysql be handled in php?
Write a program using while loop?
What is overloading in php?
Explain how we can get the number of elements in an array?
What is the use of post in php?
Which software is used to run php programs?
What is a query give example?
What is ltrim?
Explain some of the php array functions?
How to create an empty array in php?
How does session work in php?