Vidyalelo
PHP · Q11

Object Oriented Concept

Programming · PHP · question 11

Q11

Inheritance is the means by which one or more classes can be derived from a/an ___ class.

A.
base
Answer
B.
abstract
C.
null
D.
predefined

Answer: Option A

Solution

Answer: Option A
Solution:
A class that inherits from another is said to be a subclass of it. This relationship is often described in terms of parents and children. A child class is derived from and inherits characteristics from the parent.