SOLID Principle (Liskov principle) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 ответ
+ 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 - avatar