package Hello.study; import javax.microedition.midlet.MIDlet; import javax.microedition.midlet.MIDletStateChangeException; public class helloox extends MIDlet { public helloox() { // TODO Auto-generated constructor stub System.out.println("开始了"); } protected void destroyApp(boolean arg0) throws MIDletStateChangeException { // TODO Auto-generated method stub System.out.println("我是摧毁"); } protected void pauseApp() { // TODO Auto-generated method stub System.out.println("我是暂停"); } protected void startApp() throws MIDletStateChangeException { // TODO Auto-generated method stub System.out.println("我是开始"); } }