The MIDlet suite has the necessary permissions to use the PushRegistry.
What line does the application descriptor need to register the MIDlet suite for socket push connections on port 79?
A. MIDlet-Push-1: socket://:79, MIDlet-1, * B. MIDlet-Push-1: socket://:79, E-mail, * C. MIDlet-Push-1: socket://:79, com.example.EmailMIDlet, * D. MIDlet-Push-1: socket://:79, EmailMIDlet, *
C. MIDlet-Push-1: socket://:79, com.example.EmailMIDlet, *
Question 322:
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
A. It is trusted and requests permission to use sockets with MIDlet-Permissions-User.
Question 323:
Click the Exhibit button.
The method in the Exhibit must create an HTTP GET connection that works reading both of the following HTTP server response cases:
HTTP server response headers n.1
1.
HTTP/1.1 200 OK
2.
Server: MyServer/1.3.0
3.
Content-Length: 3245
4.
Content-Type: text/html
HTTP server response headers n.2
1.
HTTP/1.1 200 OK
2.
Server: MyServer/1.3.0
3.
Content-Type: text/html
Which two can be used in the fragment of code starting at line 12? (Choose two.)
A. 12. int ch; 13. while ((ch = is.read()) != -1) { 14. //... 20. } B. 12. int ch; 13. while ((ch = is.read()) == -1) { 14. //... 20. } C. 12. if (len > 0) { 13. byte[] data = new byte[len]; 14. int actual = is.read(data); 15. //... 20. } else { 21. int ch; 22. while ((ch = is.read()) != -1) { 23. //... examollectionvce.com Leaders in IT Certification 153 30. } 31. } D. 12. byte[] data = new byte[len]; 13. int actual = is.read(data);
A. 12. int ch; 13. while ((ch = is.read()) != -1) { 14. //... 20. } C. 12. if (len > 0) { 13. byte[] data = new byte[len]; 14. int actual = is.read(data); 15. //... 20. } else { 21. int ch; 22. while ((ch = is.read()) != -1) { 23. //... examollectionvce.com Leaders in IT Certification 153 30. } 31. }
Question 324:
Which three statements are true regarding the handling of wireless connections? (Choose three.)
A. Network connections should never be performed on a separate thread, so problems can be handled quickly. B. Performing network operations on the same thread used by the display is likely to block refreshes of the display until the network operations complete. C. The connection could unexpectedly terminate while processing the input or output streams. D. A network connection could interfere with other services on the device, such as the ability to receive phone calls or SMS on a phone. E. Devices can only support one HttpConnection at a time; therefore, network access from multiple threads must be serialized.
B. Performing network operations on the same thread used by the display is likely to block refreshes of the display until the network operations complete. C. The connection could unexpectedly terminate while processing the input or output streams. D. A network connection could interfere with other services on the device, such as the ability to receive phone calls or SMS on a phone.
Question 325:
Drag Drop
Place the lines of code in the appropriate positions in the code fragment to make an HTTP POST request.
Select and Place:
Question 326:
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 untrusted. C. It is trusted and requests permission to use sockets with MIDlet-Permissions. D. It is trusted and requests permission to use sockets with MIDlet-Permissions-Opt.
A. It is trusted and requests permission to use sockets with MIDlet-Permissions-User.
Question 327:
Assume a device supports datagrams and a MIDlet has permission to use datagram connections. Which two are true? (Choose two.)
A. Push registration can fail if the allowed sender filter specified is *, which poses a security risk to the device. B. Push registration can fail if another application has already reserved the connection on the device. C. Push registration can fail because the device does NOT support the use of datagrams by the PushRegistry. D. Push registration can fail if there is a push registration conflict, but the user must be prompted as to how to resolve the problem.
B. Push registration can fail if another application has already reserved the connection on the device. C. Push registration can fail because the device does NOT support the use of datagrams by the PushRegistry.
Question 328:
Which two are true regarding a device that implements JTWI? (Choose two.)
A. The device must implement the highest version of the API as identified by the JTWI specification. B. The device is NOT required to implement all of the MIDP 2.0 API as identified by the MIDP 2.0 specification. C. The device must implement at least the lowest version of the API as identified by the JTWI specification. D. The device may implement a higher version of the API as identified by the JTWI specification.
C. The device must implement at least the lowest version of the API as identified by the JTWI specification. D. The device may implement a higher version of the API as identified by the JTWI specification.
Question 329:
Drag Drop
Place the correct class within the hierarchy to reflect the class inheritance structure for the MIDP 2.0 user interface API. Not all classes are shown.
Select and Place:
Question 330:
Which three are true for ChoiceGroup? (Choose three.)
A. You can associate a Command object with a ChoiceGroup. B. When using images with a ChoiceGroup, all entries must specify an image. C. Images specified for entries may be mutable or immutable. D. ChoiceGroup.size() returns the index value of the last entry in a ChoiceGroup. E. You can specify different fonts for each ChoiceGroup entry. F. When using Choice.EXCLUSIVE, there must always be an element selected.
A. You can associate a Command object with a ChoiceGroup. C. Images specified for entries may be mutable or immutable. F. When using Choice.EXCLUSIVE, there must always be an element selected.
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.