EY interview question

They asked oops concepts , decorator, iterator, generator