Examveda

Which one of the following class can not be instantiated?

A. inherited class

B. abstract class

C. constant class

D. every class

Answer: Option B

Solution (By Examveda Team)

An abstract class cannot be instantiated. Instead it defines (and, optionally, partially implements) the interface for any class that might extend it.

This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept