import java.awt.*; import java.awt.event.*; /** * Objects that know how to modify strings. It is expected that you will * subclass this to provide a particular modify() method. * * @author Samuel A. Rebelsky * @version 1.0 of February 1999 */ public class StringModifier { /** * Given a string, return a modified version of the string. * The base version does nothing. */ public String modify(String str) { return str; } // modify(String) } // class StringModifier