Q71
What does Liskov substitution principle specify?
A.
parent class can be substituted by child class
AnswerB.
child class can be substituted by parent class
C.
parent class cannot be substituted by child class
D.
No classes can be replaced by each other
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board