1.

Which one of the following keywords are used to define an abstract class?(a) extends(b) implements(c) abstract(d) newThe question was posed to me in an international level competition.Question is taken from Object Advanced Features in division Objects and Databases in PHP of PHP

Answer»

Right CHOICE is (c) abstract

Explanation: The introduction of abstract classes was ONE of the major changes USHERED in with PHP 5. Its inclusion in the list of new features was ANOTHER sign of PHP’s extended commitment to object-oriented DESIGN.



Discussion

No Comment Found

Related InterviewSolutions