In a real-world system where we will hundreds of classes and objects which perform thousands of actions. How will assign the responsibility to each class or object? Select one: a. Assign a responsibility to the Information Expert, which will have the necessary information to fulfill the responsibilities. b. Create an Abstract class and implement based on the responsibility c. Group the objects into classes which will be giving the information to all the subclasses on their responsibility
Answers
Answered by
5
Answer:
assign a responsibility to the information expert, which will have necessary information to fulfill the responsibilities
Explanation:
three options select one.
above answer is correct as per Accenture
Answered by
0
Option (a) is the answer.
"Assign a responsibility to the information expert which will have necessary information to fulfill the responsibilities".
- Assign a responsibility to the information expert, the class that has the essential information to complete the task.
- It is a fundamental guiding principle in the design of objects.
- It represents the widespread "intuition" that objects behave in ways that are related to the knowledge they possess.
- The expert principle (also known as the information expert principle) is a strategy for determining where to transfer duties such as methods, computed fields, and so on.
Similar questions
English,
3 hours ago
Social Sciences,
3 hours ago
History,
3 hours ago
Physics,
6 hours ago
English,
8 months ago
Computer Science,
8 months ago
English,
8 months ago