Pergunta de entrevista da empresa Luxoft

What is the decorator and how does it declare?