1 2 3 4 5 6 7
import java.applet.*; public class StringTypeTest extends Applet { public String getString() { return new String("hello"); } }