Question from the Java test

What design pattern will you use to dynamically add capabilities to an object in Java?