SOFTWARE DESIGN
DESIGN PATTERNS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
____ is a behavioral design pattern that lets you traverse elements of a collection without exposing its underlying representation (list, stack, tree, etc.).
|
Mediator
|
|
Memento
|
|
Iterator
|
|
Observer
|
Explanation:
Detailed explanation-1: -Iterator is a behavioral design pattern that lets you traverse elements of a collection without exposing its underlying representation (list, stack, tree, etc.).
Detailed explanation-2: -Clients use an iterator to access and traverse an aggregate without knowing its representation (data structures).
Detailed explanation-3: -Chain of Responsibility Pattern It is a behavioral design pattern that allows us to pass a request between a chain of objects. Each object in the chain contains its processing logic that performs some action and decides the next object from the chain to delegate the work.
There is 1 question to complete.