Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

If one intends to create a model that will be assumed by a number of closely related objects, which class must be used?

a) Normal class
b) Static class
c) Abstract class
d) Interface

Answer: c
Explanation: The abstract classes are the classes in which at least one method need to be abstract. Abstract classes in PHP are declared with the help of keyword abstract. The use of class abstract are that all base classes implementing abstract class should give implementation of abstract methods declared in parent class.

Join The Discussion