0
Відповідь надано

Question about the book design patterns

Bruno De angeli 2 місяці тому оновлено Alexander Shvets 2 місяці тому 1

Hi!
I'm studying the book and on page 20 it says
Relations Between Objects
In addition to inheritance and implementation that we’ve
already seen, there are other types of relations between
objects that we haven’t talked about yet.
I saw inheritance a few pages back, but when you mean implementation are you talking about the examples of interfaces implementations?

thank you, bruno




ДОБРЕ, Я ЗАДОВОЛЕНИЙ
Позначка задоволеності від Bruno De angeli 2 місяці тому
Відповідь надано

Hi Bruno!

Implementation is established between interfaces/abstract classes and concrete classes which implement the specific behavior (please check the Encapsulation part in the "Pillars of OOP" chapter for details).

Please let me know if you have any further questions.