what is interface in php? how it is use?
Answer Posted / thirupathi rao
Interface is a prototype of method body.
when ever we want to develop the application by third party
vendor people, at that time we have to provide only interface.
why because the people gives the implementation in their own
way so we have to provide the interface.
Is This Answer Correct ? | 30 Yes | 8 No |
Post New Answer View All Answers
What function do we use to find length of string, and length of array?
What does the php error 'parse error in php - unexpected t_variable at line x' means?
What is the difference between php traits vs interfaces?
How is the ternary conditional operator used in php?
Which function you can use in php to open a file for reading or writing or for both?
Which is faster for or foreach?
What is escaping to php?
What is the difference between indexed and associative array?
What is difference between isset and empty in php?
Will php die?
What is $globals php?
How we can get the number of elements in an array?
Tell me can the value of a constant change during the script's execution?
Explain php split() function.
What is asort php?