Want to know Actualtests 1Z0-869 Exam practice test features? Want to lear more about Oracle Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam certification experience? Study Simulation Oracle 1Z0-869 answers to Renew 1Z0-869 questions at Actualtests. Gat a success with an absolute guarantee to pass Oracle 1Z0-869 (Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam) test on your first attempt.
2021 Jan 1Z0-869 practice test
Q151. - (Topic 2)
HttpsConnection c = (HttpsConnection)
int portNumber = c.getPort();
What is the value of the portNumber variable after executing the code?
Q152. - (Topic 2)
RecordStore rs = null;
static final String REC_STORE = "appdata"; And, the record store does NOT already exist.
Which is the correct way to open the record store, requesting the record store be created?
A. rs = RecordStore.openRecordStore(REC_STORE, true);
B. rs = RecordStore.createRecordStore(REC_STORE);
C. rs = RecordStore.openRecordStore(REC_STORE);
D. rs = RecordStore.openRecordStore(REC_STORE, 1);
E. rs = RecordStore.createRecordStore(REC_STORE, true);
F. rs = RecordStore.createRecordStore(REC_STORE, 1);
Q153. - (Topic 2)
Given the MIDlet code:
String arg = "telepathy:op=mind.read, target=James.Gosling";
Connection conn = Connector.open(arg); Assume telepathy is an unsupported protocol. Which is true?
A. An exception is thrown at runtime.
B. The user is presented with an alert.
C. The system quietly ignores the request.
D. Compilation fails.
Q154. - (Topic 1)
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.
Q155. - (Topic 3)
Which three are defined as user interaction permission modes? (Choose three.)
Refresh 1Z0-869 practice exam:
Q156. - (Topic 3)
canvas.serviceRepaints(); Which two are true? (Choose two.)
A. serviceRepaints() blocks waiting for paint() to return.
B. paint() is called three times, once for each repaint() and once for serviceRepaints().
C. paint() is always called twice, once for each repaint() request.
D. If the two regions specified in repaint() overlap, repaint() may attempt to paint the union of the two areas.
Q157. - (Topic 3)
a record store of type javax.microedition.rms.RecordStore, containing five records whose contents are Alice, Bill, Candice, Dean, and Ethel, respectively
an enumeration for the record store that specifies a comparator that sorts alphabetically
The first call to the enumeration is previousRecord().
Which would be returned by a second call to previousRecord()?
F. An exception is thrown at runtime.
Q158. - (Topic 2)
Which two are true regarding the interaction of the Application Management Software (AMS) and a MIDlet when a connection notification is pushed to a device? (Choose two.)
A. If the notification is for a datagram, the AMS must guarantee that the datagram is made available to the MIDlet after the MIDlet is invoked. However, additional datagrams could be lost during the time required to start the MIDlet.
B. If the AMS starts a MIDlet in response to an inbound connection, the MIDlet must defer the responsibility of closing the connection to the AMS to prevent an IOException from occurring.
C. There are no guarantees provided by the AMS as to the state of a datagram or socket connection. The connection notification is intended to start the MIDlet to handle subsequent connections.
D. If the notification is for a socket, the connection must be provided to the MIDlet. However the server side of the connection may timeout before the MIDlet actually starts.
Q159. - (Topic 1)
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.)
Q160. - (Topic 2)
Which three functions are performed during the preverification process? (Choose three.)
A. augment the StackMap
B. remove certain bytecodes
C. data type checking
D. compress the class file
E. obfuscate the application