HOME   |  ARTICLES   |  LEARN J2ME   |  DID YOU KNOW |  TESTS |  SHOPPING |  ABOUT DUCKLING |

Advertisements


Home > Tests > MIDlet Lifecycle
Test Your Skills - MIDlet Lifecycle

1. Which OS component takes care of MIDlet life cycle?

A JAD File
B Application Management Software
C Electronic data interface
D MIDlet loader

2. Which element is called first when a MIDlet is first loaded?

A Constructor
B startApp()
C runApp()
D runnableApp()

3. Which class encapsulates the MIDlet life cycle?

A MIDlet
B Runtime
C System
D CommandListener

4. The application's entry point is configured in

A JAD File
B Manifest File
C Both A and B
D None of the above

5. One of the MIDlet states given below is not applicable in MIDP1.0 and MIDP 2.0.

A Paused State
B Active State
C Destroyed State
D Background state

6. What is method pauseApp() used for?

A pauseApp() can have tasks that need to done before the application pauses.
B Disallow pause
C Notify that the application is destroyed
D
None of the above

7. What is the super class of a MIDlet class?

A CommandListener
B Object

C AMSObject

D Applet

8. What is the installer for your MIDlet?

A Manifest File
B Class files

C JAD file

D MIDlet class

9. Which method gives you the handle to the MIDlet display?

A MIDlet.getCurrent()
B MIDlet.getDisplay()

C Display.getDisplay()

D None of the above

10. Which method notifies the Application Management Software that MIDlet has done its work?

A notifyDestroyed()
B destroyApp()

C exitApp()

D startAMS()



site comments powered by Disqus

More Tests