Which GRASP principle talks about, who should be responsible for creating new objects or use other objects in your program or your system ?
Answers
Answered by
3
Answer:
here is your ans
Explanation:
According to the Creator principle of the GRASP approach to object-oriented design, the class that's responsible for creating new objects in a program should possess several characteristics.
Answered by
0
The Creator GRASP principle talks about, who should be responsible for creating new objects or using other objects in your program or your system.
- Object-oriented design is aided by GRASP, or general responsibility assignment software principles, which define who is in charge of what and which object or class is in charge of what.
- GRASP also aids in defining how relationships between classes operate.
- One of the most frequent tasks in an object-oriented system is object creation.
- One of the fundamental characteristics of the relationship between objects of different classes is which class produces the objects, and this is done by the CREATOR Principle.
- The main functions of the Creator -
- 1. To decide who is responsible for creating a new instance of a class.
- 2. An object's ability to create "contained" objects.
- 3. Identify the creator based on the relationships between the objects and how they interact.
For more information on GRASP refer to these links:
https://brainly.in/question/44856682
https://brainly.in/question/48756213
#SPJ2
Similar questions