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 can you get the size of an image in PHP?
Which cryptographic extension provide generation and verification of digital signatures?
What is the difference between array_map () and array_shift ()?
Write a program using while loop in php?
Does session expire on closing browser?
What is associative array in php?
What is static method php?
What is isset and unset in php?
What is memcache?
What is php in full?
Are php variables global?
Is wordpress a php framework?
What is the use of is_array() and in_array()?
Explain me what is the goto statement useful for?
What are the Advantages and Application Areas of PHP?