From b04a2a3ff42a7f223400ca6c27fd9fb5e08c5498 Mon Sep 17 00:00:00 2001 From: Xevion Date: Sat, 7 Mar 2020 19:44:53 -0600 Subject: [PATCH] liskov subsitution principle --- study/STUDY.MD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/study/STUDY.MD b/study/STUDY.MD index 08c80e4..c02d067 100644 --- a/study/STUDY.MD +++ b/study/STUDY.MD @@ -589,6 +589,8 @@ Class B still retains the functionality provided by `sum()` and `product()`, eve Through getters and setters, `private` fields inaccessible to `B` could be accessed. +Related: [Liskov Substitution Principle](https://en.wikipedia.org/wiki/Liskov_substitution_principle) + ### Are Arrays Pass By Value or Pass By Reference? In Java, arrays are **Pass By Value**, however, what is being passed is the `reference` to the array.