1.

Which one of the following keyword is used to implement an interface?(a) interface(b) get(c) inherit(d) implementsThis question was posed to me by my school teacher while I was bunking the class.I need to ask this question from Object Advanced Features topic in chapter Objects and Databases in PHP of PHP

Answer»

The CORRECT choice is (d) implements

The explanation is: A class can IMPLEMENT an interface USING the implements keyword in its declaration.



Discussion

No Comment Found

Related InterviewSolutions