Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
A pattern is a rather utilitarian thing, a certain clear sequence or description of connections so that one or another instrument can be repeated, easily identified and conveyed.
Composition is an abstract concept that classifies what needs to be built in some other way than inheritance. Delegate and arrange so that polymorphism manifests itself through a number of objects that are not related in the inheritance chain.
Inheritance is about the fact that objects inherit an interface / state, there is no interaction scheme here, it is quite direct: A inherited from B and that's it. But there is a lot hidden inside.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question