Vidyalelo
PHP · Q30

Object Oriented Concept

Programming · PHP · question 30

Q30

Atleast how many abstract methods must an abstract class contain?

A.
None
B.
One
Answer
C.
Two
D.
Five

Answer: Option B

Solution

Answer: Option B
Solution:
Classes defined as abstract may not be instantiated, and any class that contains at least one abstract method must also be abstract.