It is impossible to pass Oracle 1Z0-869 exam without any help in the short term. Come to Ucertify soon and find the most advanced, correct and guaranteed Oracle 1Z0-869 practice questions. You will get a surprising result by our Update Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam practice guides.

2021 Aug 1Z0-869 exam cram

Q201. - (Topic 3) 

Given: 

12.

 canvas.repaint(x1,y1,wd,ht); 

13.

 canvas.repaint(x2,y2,wd,ht); 

14.

 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. 

Answer: A,D 


Q202. DRAG DROP - (Topic 3) 

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. 

Answer: 


Q203. - (Topic 3) 

What is TimeBase? 

A. a top-level MIDP 2.0 interface 

B. a top-level MMAPI interface 

C. a MIDP 2.0 interface extending the Control interface 

D. an MMAPI class implementing the Control interface 

Answer: B 


Q204. - (Topic 2) 

Given: 

1.

 import javax.microedition.midlet.*; 

2.

 public class Foo extends MIDlet { 

3.

 public void go() { 

4.

 try { 

5.

 doStuff(); 

6.

 } catch(java.lang.NoClassDefFoundError e) { } 

7.

 } 

8.

 void doStuff() { } 

9.

 public void destroyApp(boolean b) { } 

10.

 public void pauseApp() { } 

11.

 public void startApp() {go();} 

12.

 } 

Assuming the application is targeted for CLDC 1.1, what is the result? 

A. Compilation fails because the class does not contain the required method implementations. 

B. Compilation fails because of a problem in line 8. 

C. Compilation fails because of a problem in line 6. 

D. Compilation succeeds. 

Answer: D 


Q205. - (Topic 3) 

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.

 //... 

30.

 } 

31.

 } 

D. 12. byte[] data = new byte[len]; 

13. int actual = is.read(data); 

Answer: A,C 

238. - (Topic 3) 

Given the MIDlet code: 

7.

 String s = System.getProperty("microedition.configuration"); 

8.

 if (!s.equals("CLDC-1.1")) { 

9.

 s = "CLDC-1.1"; 

10.

 } 

11.

 System.setProperty(s); 

Which statement is true? 

A. SecurityException is thrown at runtime. 

B. Property is set to "CLDC-1.1." 

C. Compilation fails because of an error in line 11. 

D. Compilation fails because of an error in line 7. 

Answer: C 


1Z0-869  book

Renovate 1Z0-869 test:

Q206. - (Topic 3) 

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. Devices can only support one HttpConnection at a time; therefore, network access from multiple threads must be serialized. 

E. A network connection could interfere with other services on the device, such as the ability to receive phone calls or SMS on a phone. 

Answer: B,C,E 


Q207. DRAG DROP - (Topic 3) 

Click the Task button. 

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. 

Answer: 


Q208. - (Topic 3) 

Given: 

MIDlet-Push-1: datagram://:444, com.fooworks.PushExample, * MIDlet-Push-2: datagram://:555, com.fooworks.PushExample, * 

are statically registered push connections and given: 

11.

 protected void startApp() { 

12.

 String[] connections = PushRegistry.listConnections(true); 

13.

 if(connections.length == 0) { 

14.

 connections = PushRegistry.listConnections(false); 

15.

 for (int i=0; i < connections.length; i++) { 

16.

 new DatagramHandler(connections[i]).start(); 

17.

 } 

18.

 } else { 

19.

 for (int i=0; i < connections.length; i++) { 

20.

 new DatagramHandler(connections[i]).start(); 

21.

 } 

22.

 } 

23.

 } 

Which two identify what will go wrong if the code is invoked by the Application Management Software in response to an inbound connection notification? (Choose two.) 

A. An IOException is thrown if there are no active connections. 

B. Datagrams for the active connection are handled, but any datagrams sent to the other port are missed. 

C. The first inbound datagram is ignored, all subsequent datagrams are handled by DatagramHandler. 

D. The first inbound datagram is handled, but all other datagrams are missed. 

E. Duplicate DatagramHandler objects are created if the MIDlet is paused and then resumed. 

Answer: B,E 


Q209. DRAG DROP - (Topic 3) 

Click the Task button. 

Assuming that rs is a valid and open record store, place the correct line of code on line 20 to complete the code fragment. 

Answer: 


Q210. - (Topic 1) 

A game running on a J2ME device supporting MMAPI needs to play tones in the background of the game. It intermittently needs to play sounds of explosions. 

The code has created two Player objects: one for tones and one for WAV audio. 

How does the developer know if both audio streams can be heard simultaneously? 

A. The developer can query the system using System.getProperty("supports.mixing");. 

B. Playing audio streams simultaneously is only a request. The device determines whether to do so. 

C. Playing audio streams simultaneously is NOT possible with any MMAPI implementation. 

D. The developer knows playing audio streams simultaneously is supported because two Player objects have been created. 

Answer: A