Pregunta de entrevista de Ten Network

What does the delegate pattern do?