what is interface in php? how it is use?

Answer Posted / asish kumar khuntia(mithu)

Interface is a object oriented concept,
It is the place where we can define the function.
When a class use that interface in that class the total
function body part will describe.
after that we can call that function in other class and we
are get result.

Is This Answer Correct ?    79 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is beforeRender() used?

627


What is $_ files in php?

559


How to set cookies in PHP?

597


How to read one character from a file?

538


Why php 7 is faster?

507






What is $this in php?

535


How do I use isdigit function?

558


Which function you can use in php to open a file for reading or writing or for both?

553


How to open standard output as a file handle?

560


What is php stack?

521


What is inheritance in php? How many types of inheritance supports php?

526


What are advantages of .htaccess?

525


Can you use php and javascript together?

555


What does a delimiter do in mysql?

527


What are the advantages of using php?

534