SOLID Principle (Liskov principle) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

SOLID Principle (Liskov principle)

Can someone explain LISKOV substitution in an easy way.

28th Apr 2017, 12:21 AM
Juan Monge
Juan Monge - avatar
1 Answer
+ 8
You want a basket of fruit, I give you a basket of apple. That should be fine. Subtypes are examples of their super types.
27th Mar 2017, 6:11 AM
1of3
1of3 - avatar