Pregunta de entrevista de IBM

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