ExamGecko
Question list
Search
Search

Related questions

Question 335 - 200-901 discussion

Report
Export

A developer creates a program in which an object maintains a list of classes based on the observer pattern. The classes are dependent on the object. Whenever the state of the object changes, it notifies the dependent classes directly through callbacks. Which advantage of the observer pattern offers minimum dependencies and maximum flexibility between dependent objects or classes?

A.

tight coupling

Answers
A.

tight coupling

B.

cohesion

Answers
B.

cohesion

C.

mediation

Answers
C.

mediation

D.

loose coupling

Answers
D.

loose coupling

Suggested answer: D

Explanation:


asked 07/10/2024
THARINDU AMARASINGHE
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first