Given:
DataInputStream incoming =
Connector.openDataInputStream("sms://+3125551234:3434");
Which is true?
A. The + in the URL is positioned incorrectly.
B. The port number indicated is a protected SMS port.
C. Port numbers are NOT allowed in SMS URLs.
D. MessageConnection does NOT support InputStream objects.
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?
A. String ExamName = this.getAppProperty("CertificationExam");
B. String ExamName = this.getAppProperty("MIDlet-CertificationExam");
C. String ExamName = System.getProperty("CertificationExam");
D. String ExamName = System.getProperty("MIDlet-CertificationExam");
Click the Exhibit button. Which two are true? (Choose two.)

A. In class A, no new events will be delivered to the application until after the commandAction() method completes.
B. The event-handling mechanism in class A allows multiple command events to be delivered to the application in parallel.
C. The commandAction() method code in class B is compliant with the event-handling approach recommended in the MIDP 2.0 specification.
D. The commandAction() method code in class A is NOT guaranteed to be portable across all MIDP 2.0-compliant devices.
E. In class B, no new events will be delivered to the application until after the commandAction() method completes.
F. The event-handling in class A will NOT print done with action until after the run() method has completed.
Given the MIDlet code:
20.
String arg = "telepathy:op=mind.read, target=James.Gosling";
21.
Connection conn = Connector.open(arg); Assume telepathy is an unsupported protocol. Which is true?
A. The user is presented with an alert.
B. The system quietly ignores the request.
C. An exception is thrown at runtime.
D. Compilation fails.
Given two options to synthesize tones: Manager.playTone(); And:
5. //...
11.
Player p = Manager.createPlayer(Manager.TONE_DEVICE_LOCATOR);
12.
p.realize();
13.
ToneControl c = (ToneControl)p.getControl("ToneControl");
14.
c.setSequence(sequence);
15.
p.start();
Which is true?
A. Manager.TONE_DEVICE_LOCATOR is not a valid field.
B. The second option lets developers set playback tempo.
C. Both options have the same result.
D. The second option lets developers set playback pitch.
What are two benefits of the PushRegistry? (Choose two.)
A. It provides a way for the AMS to automatically invoke a MIDlet at a specified time if it is not already running.
B. It provides a way for an incoming connection to invoke a MIDlet that can handle the content sent by the connection.
C. It provides a way for two MIDlet suites running on the same device to discover and communicate with each other in a secure manner.
D. It provides a way to restrict HTTP connections to well-known network addresses.
Which URL indicates the intention for one JTWI device to communicate with another JTWI device?
A. cbs://+18005551234
B. cbs://+18005551234:1234
C. sms://+18005551234:1234
D. sms://+18005551234
Which three are basic interface types addressed by the Generic Connection Framework? (Choose three.)
A. basic serial input connection
B. telephony-oriented mechanism
C. location-oriented mechanism
D. basic serial output connection
E. circuit-oriented mechanism
Which two are true about sockets and datagrams? (Choose two.)
A. Closing a SocketConnection automatically closes any associated input or output streams.
B. Datagrams are used to send packets of data over a SocketConnection.
C. Data sent over a TCP/IP socket is received in the same order that it was sent.
D. Both datagrams and sockets use streams as the basis for their communication.
E. Datagrams are guaranteed to reach their intended destination.
F. A datagram is an independent, self-contained message sent over the network.
The binding of networking protocols to a MIDlet at runtime can be compared to a type of relationship. Which relationship most closely matches the binding?
A. mark and sweep
B. specification and implementation
C. caller and callee
D. application and device drivers