Skip to main content

1Z0-869 Real Exam Questions

Java Mobile Edition 1 Mobile Application Developer Certified Professional

340 questions available · Page 1 of 34

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

Which is true for Item?

  1. A

    The same Command may occur on more than one Item.

  2. B

    The same Item may be appended to more than one Form at the same time.

  3. C

    When adding a Command to an Item, specifying a command type other than Command.ITEM results in a compilation failure.

  4. D

    Minimum and preferred size CANNOT be changed once an Item is created.

Show answer and explanation

Correct answer: A

Question 2 Single choice

Given the MIDlet code:

12. File f = new File("myFile.txt");

13. FileOutputStream ds = new FileOutputStream(f);

14. OutputStreamWriter os = new OutputStreamWriter(ds);

15. BufferedWriter buf = new BufferedWriter(os);

16. buf.write('c');

What is the result?

  1. A

    The code compiles and runs, and then writes the character c to the file myFile.txt.

  2. B

    Compilation succeeds, but an exception is thrown at runtime.

  3. C

    Compilation fails because the code uses one or more classes, which are not supported in CLDC 1.1.

  4. D

    The code compiles and runs, but line 16 is ignored.

Show answer and explanation

Correct answer: C

Question 3 Single choice

Which is true regarding Timer objects?

  1. A

    Multiple threads can share a single Timer object only by using external synchronization.

  2. B

    A thread CANNOT stop a Timer object if it is executing a task.

  3. C

    Multiple threads can never share a single Timer object.

  4. D

    Multiple threads can share a single Timer object without using external synchronization.

Show answer and explanation

Correct answer: D

Question 4 Drag & drop

DRAG DROP

Click the Task button.
Place the appropriate platform label on the class name. If the class exists in both CLDC and J2SE, choose the "Exists in BOTH..." option, regardless of whether the package names are different.

Question diagram
Show answer and explanation
Correct answer diagram
Question 5 Single choice

Given:

a JAR containing a MIDlet named TesterMIDlet

a JAD with this content: CertificationExam:

Sun Certified Mobile Application DeveloperMIDlet-1: TesterMIDlet, , certification.TesterMIDlet MIDlet-Jar-
Size: 2038 MIDlet-Jar-URL: Certification.jar MIDlet-Name: Certification MIDlet-Vendor: A Testing Company MIDlet-Version: 1.0 MicroEdition-Configuration: CLDC-1.0 MicroEdition-Profile: MIDP-2.0

This MIDlet needs to get the property with the key CertificationExam defined in the JAD. This needs to be assigned to a String ExamName from within the MIDlet.startApp() method.

What is the correct way to accomplish this?

  1. A

    String ExamName = this.getAppProperty("CertificationExam");

  2. B

    String ExamName = this.getAppProperty("MIDlet-CertificationExam");

  3. C

    String ExamName = System.getProperty("CertificationExam");

  4. D

    String ExamName = System.getProperty("MIDlet-CertificationExam");

Show answer and explanation

Correct answer: A

Question 6 Multiple choice

Which two methods are available only within classes of the MIDP low-level UI API? (Choose two.)

  1. A

    setFullScreenMode()

  2. B

    hasRepeatEvents()

  3. C

    setPreferredSize()

  4. D

    notifyStateChanged()

  5. E

    getLayout()

Show answer and explanation

Correct answers: A, B

Question 7 Single choice

A MIDlet has entered the paused state.

Which is a valid action to attempt to make it active?

  1. A

    The MIDlet cannot revert back to the active state.

  2. B

    The MIDlet calls resumeRequest() through a timer.

  3. C

    The MIDlet calls its own startApp() method.

  4. D

    The MIDlet has to wait quietly to be rescheduled.

Show answer and explanation

Correct answer: B

Question 8 Single choice

A MIDP 2.0 compliant device creates an HTTP connection to a server that supports HTTP 1.1.

Which is true?

  1. A

    There is no such thing as a 1.1 version of HTTP.

  2. B

    The device definitely does NOT support HTTP 1.1.

  3. C

    The device may or may NOT support HTTP 1.1.

  4. D

    The device definitely supports HTTP 1.1.

Show answer and explanation

Correct answer: D

Question 9 Multiple choice

Which three APIs may untrusted MIDlets use without explicit confirmation by the user? (Choose three.)

  1. A

    javax.microedition.io.HttpConnection

  2. B

    javax.microedition.io.PushRegistry

  3. C

    javax.microedition.rms

  4. D

    javax.microedition.lcdui

  5. E

    javax.microedition.media

Show answer and explanation

Correct answers: C, D, E

Question 10 Multiple choice

Given:

21. MessageConnection mc;

22. mc = (MessageConnection) Connector.open("sms://:6222");

23. mc.setMessageListener(this);

24. reader = new MsgReader();

25. new Thread(reader).start();

26. //...

35. public void notifyIncomingMessage(MessageConnection mc2) {

36. //...

40. }

41. //...

50. class MsgReader implements Runnable {

51. //...

55. }

Which two are true? (Choose two.)

  1. A

    This MIDlet uses asynchronous WMA message handling.

  2. B

    This MIDlet must have a MIDlet-Push-<n> entry in its JAD file.

  3. C

    This MIDlet must contain a call to PushRegister.registerConnection().

  4. D

    This MIDlet uses synchronous WMA message handling.

  5. E

    This MIDlet typically includes a method call such as: mc.receive().

Show answer and explanation

Correct answers: A, E