import javax.microedition.midlet.*; public class State extends MIDlet { public State(){ System.out.println("Inside constructor()"); } public void startApp(){ System.out.println("Inside startApp()"); } public void pauseApp(){ System.out.println("Inside pauseApp()"); } public void destroyApp(boolean unconditonal){ System.out.println("Inside destroyApp()"); } }