what is interface in php? how it is use?

Answer Posted / karthi

interface =multiple inheritance

means:
An multiple inheritance is not supported in php that time we
using interface. It is implements two baseclasses but class
extends only one class.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main error types in php and how do they differ?

842


What will the ?getdate() function returns in PHP?

652


What language is similar to php?

571


What is difference between core php and framework?

466


What is constructor and destructor?

536






How is it possible to cast types in php?

501


Which function would you use to insert a record into a database in php?

570


What are the methods to submit form in php?

534


What is difference between print and echo in php?

479


What does isset() function?

555


What is polymorphism in php?

516


What is cookies? How to create cookies in php?

529


What new features php7 has in store for us?

572


Is php better than java?

551


What is mysql_fetch_row?

552