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 the difference between print() and echo() in PHP?
What is php string function?
What are the features of php?
What is the timeout period on session values?
Explain me the difference between include and require?
Which function is used in php to check the data type of any variable?
Will php die?
Explain converting an object?
Does csrf token change?
What is return in php function?
How to change the principal password?
How can I increase my website session?
What are the types of variables in php?
What is $this in php?
What's the difference between using mysql_ functions and pdo?