What does Liskov substitution principle specify?
(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
I had been asked this question in class test.
My question is from Liskov’s Principle in section Autoboxing & Miscellaneous of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)