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
I am writing an application in php that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with php?
What is composer install?
How do I use isdigit function?
Do loops php?
What does csrf token mismatch mean?
What is get method in java?
How do you pass a variable by value?
What the use of var_dump()?
Why we use get in php?
What is the apache?
Tell me how to retrieve a cookie value?
Is it easy to learn php?
What is the function func_num_args() used for?
What is the use of strpos in php?
How to pad an array with the same value multiple times?