Sun-Certified-Mobile-Application-Developer-for-the-Java-2-Platform-Micro-Edition-Version-1-0-(310-11 - SUN 310-110 Sun Certified Mobile Application

Sun-Certified-Mobile-Application-Developer-for-the-Java-2-Platform-Micro-Edition-Version-1-0-(310-11

This preview shows page 1 - 4 out of 6 pages.

310-110 SUN Sun Certified Mobile Application Developer for the Java 2 Platform, Micro Edition, Version 1.0
Image of page 1
QUESTION: 332 Given: 10. public class ExampleMIDlet extends MIDlet { 11. //... 20. public boolean hasCompleted() { 21. //... 30. } 31. public boolean isLowOnMemory() { 32. //... 40. } 41. public void destroyApp(boolean arg) { 42. if (X) throw new MIDletStateChangeException(); 43. } 44. //... 50. } Which substitution for X conforms to the MIDP specification? A. !arg B. trueC. isLowOnMemory() D. !hasCompleted() E. arg && isLowOnMemory()F.!arg || !hasCompleted() Answer:A QUESTION:333 Which two are true about MIDlet suite provisioning? (Choose two.) QUESTION: 334 Given the MIDlet code: 11. public void startApp() { 12. Form f = new Form("hello"); 13. Display.getDisplay(this).setCurrent(f); 14. System.gc(); 15. System.exit(0); 152
Image of page 2
16. f.append("foo");
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 6 pages?

  • Fall '16
  • Mohammad Alizadeh

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture