Question: Which principle is applied in this statement A function should not be aware that it is using a sub class object in place of the

Which principle is applied in this statement "A function should not be aware that it is using a sub class object in place of the superclass object? (a) Open-Closed Principle(OCP) (b) Single Reponsibility Principle (c) Interface Segregation Principle(ISP) (d) Liskov Substitutuion Principle(LSP) Which is the ans?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!