Which is true for Item?
Show answer and explanation
Correct answer: A
1Z0-869 Real Exam Questions
340 questions available · Page 1 of 34
Updated Exam DumpsVerified AnswersPass Guarantee
Which is true for Item?
Correct answer: A
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?
Correct answer: C
Which is true regarding Timer objects?
Correct answer: D
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.



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?
Correct answer: A
Which two methods are available only within classes of the MIDP low-level UI API? (Choose two.)
Correct answers: A, B
A MIDlet has entered the paused state.
Which is a valid action to attempt to make it active?
Correct answer: B
A MIDP 2.0 compliant device creates an HTTP connection to a server that supports HTTP 1.1.
Which is true?
Correct answer: D
Which three APIs may untrusted MIDlets use without explicit confirmation by the user? (Choose three.)
Correct answers: C, D, E
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.)
Correct answers: A, E