You're using GRASP principles to design a system using the object-oriented approach. There is a grow() method that is used by a Tree class and can be used in different ways by Maple and Spruce. What pattern of GRASP does this scenario represent?
a) creator
b) polymorphism
c)pure Fabrication
d) controller
Answers
Answered by
1
Answer:
I recently noticed that a lot of attention is paid to SOLID principles. And this is very good thing because it is the total basis of Object-Oriented Design (OOD) and programming. For developers of object-oriented languages, knowledge of the SOLID principles is a requirement for writing code which is characterized by good quality. There are a lot of articles and courses on these rules, so if you do not know them yet, learn them as soon as possible.
Similar questions