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


Please Help Members By Posting Answers For Below Questions

List some sorting functions in php?

704


How can we determine whether a php variable is an instantiated object of a certain class?

713


Why do we use sessions in php?

686


What is difference between html and php?

647


Which character is used to match exactly one character?

720






How to generate a character from an ascii value?

722


What does the unlink() function means?

719


Is rent a variable cost?

699


How to get length of an array in PHP?

720


Where php basically used?

726


What are the 3 types of sessions?

712


What is the difference between characters 34 and x34?

779


can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????

1511


How can you encrypt password using php?

667


What are the different opening and closing tags available in PHP?

746