IBM interview question

How can you extend the functionality of the String class in Java?