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
How send email in php?
How do you debug php?
How do you pass a variable by value in php?
What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?
Why php language is used?
What is difference between get and post?
What is the w3c?
How to receive a cookie from the browser?
Tell me what type of operation is needed when passing values through a form or an url?
Why did you choose this particular career path?
Which is useful for method overloading?
What is the tags in PHP is not a valid way to begin and end a PHP code block?
How do I display php errors?
How can we display information of a variable and readable by a human with php?
What is default session time in php?