import javax.microedition.midlet.MIDlet; public class MyFirstMidlet extends MIDlet { public void pauseApp() { } public void destroyApp(boolean unconditional) { notify Destroyed(); } public void startApp() { string name = getAppProperty ("MIDlet-Name"); System.out.println ("MIDlet " + name + "says: Hello, World!") } }