Pergunta

Can the Strategy design pattern entirely replace delegates?

In Java, for example, there are no delegates. Is it possible to gain all the features of delegates by using Strategy design pattern?

Edit: I see there is some ambiguity in my question. By delegates I mean the feature of the language, C# for instance.

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
scroll top