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 use of mysqli_query in php?

516


List some of the features of php7.

536


How to remove an empty directory?

580


Which function can be used to exit from the script after displaying the error message?

521


Differentiate between require and include?

545






How would you declare a function that receives one parameter name hello?

521


Can we extend multiple classes in php?

546


What is the mysql injection?

554


How we get ip address of client, previous reference page etc?

562


Explain about PHP filter and why it should be used?

559


Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()

1822


What type of language is php?

519


What is the use of $_server["php_self"] variable?

529


Why triggers are used in mysql?

534


What is meant by public, private, protected, static and final scopes?

534