Oracle interview question

Example of the decorator pattern