Proper study guides for Up to the immediate present Oracle Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam certified begins with Oracle 1Z0-869 preparation products which designed to deliver the Actual 1Z0-869 questions by making you pass the 1Z0-869 test at your first time. Try the free 1Z0-869 demo right now.

2016 Oct 1Z0-869 exam cost

Q141. - (Topic 3) 

Assuming an application descriptor contains: MIDlet-Data-Size: 4096 Which is true? 

A. The device will use 4096 bytes to buffer data the application receives over the network. 

B. The device will permanently reserve 4096 bytes of heap space for the application. 

C. The device will permanently reserve 4096 bytes of RMS space for the application. 

D. The device will use 4096 bytes to buffer data the application sends over the network. 

Answer:


Q142. - (Topic 3) 

A mobile application developer wants to reduce memory use and improve the speed of a game using the MIDP 2.0 Game API. Which three are valid, legal ways to help fulfill the developer's goal? (Choose three.) 

A. while(gameActive) { 

int keyStates = getKeyStates(); 

if ((keyStates & LEFT_PRESSED) != 0) { 

// code to move a Sprite 

B. GameCanvas game = new GameCanvas(true); 

//suppress key events 

C. layerManager.setViewWindow(0,0, getWidth() + 50, getHeight() + 50); 

D. mySprite.collidesWith(otherSprite, false); 

//pixel level false 

E. keyPressed(int keyCode) { 

// code to process the key press event 

Answer: A,B,D 


Q143. - (Topic 2) 

Due to possible performance consequences, the MIDP 2.0 specification urges caution when creating certain types of record store enumerations. Which is identified in the specification as having the greatest probability of resulting in poor response time? 

A. using a comparator 

B. setting the keepUpdated argument to true 

C. using a filter 

D. using a filter and a comparator together 

Answer:


Q144. - (Topic 3) 

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 = System.getProperty("CertificationExam"); 

B. String ExamName = System.getProperty("MIDlet-CertificationExam"); 

C. String ExamName = this.getAppProperty("CertificationExam"); 

D. String ExamName = this.getAppProperty("MIDlet-CertificationExam"); 

Answer:


Q145. - (Topic 1) 

A MIDlet suite is signed using X.509 PKI. Which encoding format must be used for the certificate entries in the JAD file? 

A. yEnc 

B. binary 

C. none 

D. base64 

Answer:


Far out 1Z0-869 test engine:

Q146. - (Topic 3) 

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. Port 444 may be restricted or ignored by some MIDP implementations. 

C. The code is portable because all the classes and interfaces used are defined in the CLDC. 

D. Datagrams may not be supported on all platforms. 

Answer: B,D 


Q147. - (Topic 2) 

Given: 

DatagramConnection dConnection = (DatagramConnection) Connector.open("datagram://:9009"); 

Which is true? 

A. A client mode datagram connection is created for receiving datagrams. 

B. A client mode datagram connection is created only for sending datagrams. 

C. A server mode datagram connection is created for both sending and receiving datagrams by way of the same port. 

D. A server mode datagram connection is created for both sending and receiving datagrams using different ports. 

Answer:


Q148. - (Topic 3) 

Which two are true regarding record stores? (Choose two.) 

A. All records within a record store have the same length. 

B. MIDlets within the same suite can access the record stores of other MIDlets in the same suite. 

C. Record stores can be locked. 

D. MIDlets within the same suite CANNOT access the record stores of other MIDlets in the same suite. 

E. The first created in a record store has a record ID of 1. 

F. When a MIDlet suite is removed, record store contents remain on the device. 

G. Record store names are case insensitive. 

Answer: B,E 


Q149. - (Topic 1) 

Given: 

7.

 ServerSocketConnection ssc = 

 (ServerSocketConnection)Connector.open("socket://:5999"); 

8.

 SocketConnection sc = (SocketConnection) ssc.acceptAndOpen(); 

Which entry in the JAD file is used to request multiple permissions? 

A. MIDlet-Permission: javax.microedition.io.Connector.socket; javax.microedition.io.Connector.serversocket 

B. MIDlet-Permission: javax.microedition.io.socket MIDlet-Permission: javax.microedition.io.socketserver 

C. MIDlet-Permission: javax.microedition.io.Connector.socket, javax.microedition.io.Connector.serversocket 

D. MIDlet-Permission: javax.microedition.io.Connector.socket MIDlet-Permission: javax.microedition.io.Connector.serversocket 

E. MIDlet-Permission: javax.microedition.io.socket; javax.microedition.serversocket 

Answer:


Q150. - (Topic 3) 

Given: 10. MessageConnection conn; 

11. 

12.

 public void startApp() { 

13.

 try { 

14.

 conn = (MessageConnection) Connector.open("cbs://:3382"); 

15.

 //... 

17.

 } catch (Exception e) { 

18.

 //... 

20.

 } 

21.

 } 

22. 

30.

 public void run() { 

31.

 Message msg = conn.receive(); 

32.

 //... 

40.

 conn.send(msg); 

41.

 } 

What is the result? 

A. An error at line 40 causes an exception at runtime. 

B. An error at line 14 causes an exception at runtime. 

C. An error at line 14 causes compile to fail. 

D. The code successfully sends a message. 

E. An error at line 31 causes an exception at runtime. 

Answer: