1.

At least how many abstract methods must an abstract class contain?(a) None(b) One(c) Two(d) FiveI have been asked this question in a national level competition.Enquiry is from Object Advanced Features in portion Objects and Databases in PHP of PHP

Answer»

The correct option is (B) One

The EXPLANATION is: Classes DEFINED as abstract may not be instantiated, and any class that contains at least one abstract method must also be abstract.



Discussion

No Comment Found

Related InterviewSolutions