A MIDlet suite on a device uses socket connections. The device always asks the user for permission when the suite tries opening a socket connection. What is always false about the MIDlet suite?
A. It is trusted and requests permission to use sockets with MIDlet-Permissions-User.
B. It is trusted and requests permission to use sockets with MIDlet-Permissions.
C. It is untrusted.
D. It is trusted and requests permission to use sockets with MIDlet-Permissions-Opt
Click the Exhibit button. What is the result?
A. myForm contains the string "run count: 2".
B. An exception is thrown at runtime.
C. myForm contains the string "run count: 0".
D. myForm contains the string "run count: 1".
E. myForm contains the string "waiting...".
Which method is initially called when the MIDlet starts in response to a push notification?
A. PushRegistry.notifyIncomingConnection()
B. MIDlet.startApp()
C. MIDlet.notifyApp()
D. PushRegistry.listConnections()
E. MIDlet.pushApp()
F. MIDlet.resumeRequest()
Given the push connection string:
MIDlet-Push-1: socket://:79, com.sun.example.SampleChat, 192.3?.?.*
Which two addresses are allowed to push connection notifications to the application? (Choose two.)
A. 192.31.101.1
B. 192.32.1.101
C. 192.310.101.1
D. 192.3.1.101
E. 192.31.1.1
F. 192.310.10.1
Which two errors are available in CLDC? (Choose two.)
A. java.lang.VirtualMachineError
B. java.lang.OutOfMemoryError
C. java.lang.StackOverflowError
D. java.lang.UnknownError
Given the MIDlet code:
10. //...
20.
try {
21.
Connection conn = Connector.open("http://www.sun.com");
22.
InputStream is = conn.getInputStream();
23.
//...
30.
} catch (IOException e) {
31.
//...
40. }
Which is true?
A. Compilation fails.
B. The system returns a null InputStream.
C. The system returns a valid InputStream for reading.
D. An exception is thrown at runtime.
Which method is initially called when the MIDlet starts in response to a push notification?
A. PushRegistry.listConnections()
B. PushRegistry.notifyIncomingConnection()
C. MIDlet.startApp()
D. MIDlet.notifyApp()
E. MIDlet.pushApp()
F. MIDlet.resumeRequest()
Given the MIDlet code:
11.
DatagramConnection dgc = (DatagramConnection)Connector.open("datagram://:444");
12.
Datagram datagram = dgc.newDatagram(20);
13.
dgc.receive(datagram);
14.
byte[] data = datagram.getData();
15.
String s = new String(data);
16.
list.append(s, null);
17.
System.out.println("Datagram received: " + s);
Which two are true regarding the portability of the code between devices? (Choose two.)
A. Installation will fail on devices that do not support datagrams.
B. Datagrams may not be supported on all platforms.
C. The code is portable because all the classes and interfaces used are defined in the CLDC.
D. Port 444 may be restricted or ignored by some MIDP implementations.
Which two are true regarding error handling for classes that exist in both CLDC and J2SE? (Choose two.)
A. The set of error classes is essentially the same in CLDC and J2SE.
B. The set of error classes is much reduced in CLDC to help reduce the overhead of the JVM.
C. If a class throws an error in CLDC, it should throw the same error as in J2SE or its nearest superclass.
D. There is no correspondence between the errors defined by CLDC and J2SE because the needs of CLDC and J2SE are so different.
Click the Task button. Place each player state next to its description.
Select and Place:
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-869 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.