What does Liskov substitution principle specify?
Posted: Wed Jul 13, 2022 7:50 pm
a) parent class can be substituted by child class
b) 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
b) 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