Questões Informática Engenharia de Software

Considerando os padrões definidos pelo GoF (Gang of Four), assinale a opção correta.

Responda: Considerando os padrões definidos pelo GoF (Gang of Four), assinale a opção correta.


1Q649695 | Informática, Engenharia de Software, Técnico Judiciário, Tribunal Regional do Trabalho 7a Região, CESPE CEBRASPE, 2017

Considerando os padrões definidos pelo GoF (Gang of Four), assinale a opção correta.
  1. ✂️
  2. ✂️
  3. ✂️
  4. ✂️

💬 Comentários

Confira os comentários sobre esta questão.
Usuário
Por Mountebanking Cormorant em 31/12/1969 21:00:00
a-
In object-oriented design, the chain-of-responsibility pattern is a behavioral design pattern consisting of a source of command objects and a series of processing objects. Each processing object contains logic that defines the types of command objects that it can handle; the rest are passed to the next processing object in the chain. A mechanism also exists for adding new processing objects to the end of this chain. This pattern promotes the idea of loose coupling.
The chain-of-responsibility pattern is structurally nearly identical to the decorator pattern, the difference being that for the decorator, all classes handle the request, while for the chain of responsibility, exactly one of the classes in the chain handles the request.

https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern
⚠️ Clique para ver os comentários

Visualize os comentários desta questão clicando no botão abaixo

Ver comentários
Utilizamos cookies e tecnologias semelhantes para aprimorar sua experiência de navegação. Política de Privacidade.