Leads4pass > Oracle > Others Oracle Certifications > 1Z0-869 > 1Z0-869 Online Practice Questions and Answers

1Z0-869 Online Practice Questions and Answers

Questions 4

Which three are basic interface types addressed by the Generic Connection Framework? (Choose three.)

A. telephony-oriented mechanism

B. circuit-oriented mechanism

C. location-oriented mechanism

D. basic serial output connection

E. basic serial input connection

Buy Now
Questions 5

Given:

7.

ServerSocketConnection ssc =

8.

SocketConnection sc = (SocketConnection) ssc.acceptAndOpen(); Which entry in the JAD file is used to request multiple permissions?

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

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

Buy Now
Questions 6

Given a class named MyCanvas, which three CANNOT be used if MyCanvas is a direct subclass of Canvas? (Choose three.)

A. public MyCanvas(boolean t) { super(true); }

B. isDoubleBuffered();

C. Sprite s = new Sprite(anImage, 20,20);

D. keyStates = getKeyStates(); if ((keyStates and LEFT_PRESSED) != 0) { }

E. flushGraphics();

F. gameAction = getGameAction(keyCode) { }

Buy Now
Questions 7

What does the application level security ensure?

A. controlled access to system resources

B. no access to system resources

C. restricted access to native application libraries

D. unlimited access to native application libraries

Buy Now
Questions 8

Given:

12.

class TestRecordListener implements RecordListener {

13.

public void recordAdded(RecordStore rcs, int recordId) {

14.

// ...

25.

}

26.

public void recordDeleted(RecordStore rcs, int recordId) {

27.

// ...

33.

}

34.

public void recordChanged(RecordStore rcs, int recordId) {

35.

// ...

43.

}

44.

}

If rs is a valid and open record store, how can you properly associate a record listener with rs?

A. rs.addRecordListener(new TestRecordListener())

B. rs.newRecordListener(new TestRecordListener())

C. rs.setRecordListener(new TestRecordListener())

D. rs.createRecordListener(new TestRecordListener())

Buy Now
Questions 9

A MIDlet makes its only attempt to register a push connection on a JTWI device using:

PushRegistry.registerConnection(

"datagram://:79", midlet, "10.0.0.???");

Which is true?

A. The call to registerConnection() causes an exception, because the string 10.0.0.??? is an illegal argument.

B. The MIDlet accepts datagram push connections on port 79 only from IP addresses in the range 10.0.0.0 to 10.0.0.255.

C. The MIDlet accepts datagram push connections on port 79 only from IP addresses in the range 10.0.0.100 to 10.0.0.255.

D. The MIDlet accepts datagram push connections on port 79 only from IP addresses in the range 10.0.0.100 to 10.0.0.255 and on any other port from IP addresses other than those in the range 10.0.0.100 to 10.0.0.255.

Buy Now
Questions 10

A MIDlet suite running on a GSM phone successfully receives an SMS text message msg from another GSM phone. The suite is using a valid SMS MessageConnection object conn opened in server mode.

The suite tries to respond back using:

msg.setPayloadText("thank you!");

conn.send(msg);

Which is true?

A. The code always fails because the connection object is missing an address for sending a response.

B. The code can succeed because the connection object contains an address for sending a response.

C. The code can succeed because the message object contains an address for sending a response.

D. The code always fails because the message object is missing an address for sending a response.

Buy Now
Questions 11

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 because the device does NOT support the use of datagrams by the PushRegistry.

B. Push registration can fail if another application has already reserved the connection on the device.

C. Push registration can fail if the allowed sender filter specified is *, which poses a security risk to the device.

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.

Buy Now
Questions 12

Which is false about untrusted MIDlet suites?

A. An untrusted MIDlet suite does not request permissions explicitly in the JAR manifest or the application descriptor.

B. Untrusted MIDlet suites may access protected APIs or functions if given explicit user permission.

C. JTWI devices must treat all MIDP 2.0 suites as trusted.

D. JTWI devices must treat all MIDP 1.0 suites as untrusted.

Buy Now
Questions 13

Given:

Font font = Font.getFont(

Font.FACE_SYSTEM,

Font.STYLE_BOLD | Font.STYLE_ITALIC | Font.STYLE_UNDERLINED,

Font.SIZE_MEDIUM);

If Font.STYLE_ITALIC is unavailable on the device, what is the result?

A. IllegalArgumentException occurs.

B. Compile time error occurs.

C. RuntimeException occurs.

D. Device substitutes its closest substitute.

Buy Now
Exam Code: 1Z0-869
Exam Name: Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam
Last Update: Dec 16, 2024
Questions: 340
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99