IBM Interview Question

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