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 noti es the dependent classes directly through callbacks. Which advantage of the observer pattern offers minimum dependencies and maximum exibility between dependent objects or classes?

QuestionsCategory: 200-901A 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 noti es the dependent classes directly through callbacks. Which advantage of the observer pattern offers minimum dependencies and maximum exibility between dependent objects or classes?
Admin Staff asked 1 year ago
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 noti es the dependent classes directly through callbacks. Which advantage of the observer pattern offers minimum dependencies and maximum exibility between dependent objects or classes?

A. tight coupling

B. cohesion

C. mediation

D. loose coupling










Correct Answer: D

This question is in 200-901 exam
For getting Cisco Certified DevNet Associate Certificate


Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.