Vidyalelo
PHP · Q28

Object Oriented Concept

Programming · PHP · question 28

Q28

Which one of the following keywords is used to define an abstract class?

A.
extends
B.
implements
C.
abstract
Answer
D.
new

Answer: Option C

Solution

Answer: Option C
Solution:
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.