what is interface in php? how it is use?

Answer Posted / neakdek

Why you can :

interface FirstInterfName{
function Add();
function Sub(10,5); // this line can u pass 10,5 like this
}

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of super-global arrays in php?

507


What is a comment in php?

636


What is strcmp?

525


What is the importance of "method" attribute in a html form?

547


How is it possible to return a value from a function?

542






Explain the purpose of output buffering in php.

512


How to remove leading and trailing spaces from user input values in php?

545


How many types of php are there?

526


What is overloading in php?

552


What are getters and setters and why are they important?

534


Which PHP function would you use to send an email?

602


Can I write php code in html file?

538


How to enable error reporting in php?

538


What does $this do in php?

530


What is the difference between echo print and print_r in php?

520