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

1Z0-869 Online Practice Questions and Answers

Questions 4

Which two are true about deleting a record store? (Choose two.)

A. Registered listeners will be notified when their record store is deleted.

B. Permission to delete a record store is independent of its authorization mode.

C. A record store can be deleted by any MIDlet that has access to it.

D. A record store can always be deleted if it is NOT open to any MIDlet in its suite.

E. Record stores accessible across MIDlet suites can never be deleted.

F. Any attempt to delete a record store can throw an exception that must be caught.

Browse 340 Q&As
Questions 5

Given:

15.

String addr = "sms://+14155557296";

16.

MessageConnection conn

17.

= (MessageConnection) Connector.open(addr);

18.

// insert code here

19.

message.setPayloadData(imageBytes);

Assume imageBytes is a valid byte array.

Which statement, inserted at line 18, causes the rest of the code fragment to compile correctly?

A. Message message = new BinaryMessage();

B. BinaryMessage message = (BinaryMessage) conn.newMessage(MessageConnection.BINARY_MESSAGE);

C. Message message = conn.newMessage(MessageConnection.BINARY_MESSAGE);

D. BinaryMessage message = new BinaryMessage();

Browse 340 Q&As
Questions 6

Given:

21.

TextField tf = new TextField("Memo", "", 50, TextField.ANY);

22.

DateField df = new DateField("Date", DateField.DATE_TIME);

23.

Form fm = new Form("Form demo");

24.

Command cmCount = new Command("Word count", Command.ITEM, 1);

25.

Command cmExit = new Command("Exit", Command.EXIT, 1);

26.

27.

tf.addCommand(cmCount);

28.

fm.append(df);

29.

fm.append(tf);

30.

fm.addCommand(cmExit);

31.

fm.setCommandListener(this); Which is true?

A. An exception is thrown at runtime.

B. The cmCount and cmExit commands is always available on fm, regardless of which Item is active.

C. Compilation fails.

D. The cmCount command is available only when tf is the active Item.

E. The cmExit command is available only when df is the active Item.

Browse 340 Q&As
Questions 7

Click the Exhibit button.

Which produces the results shown in device A and device B?

A. A: g.drawString("Gray Flyer",0,0,Graphics.LEFT | Graphics.TOP);

B. g.drawString("Gray Flyer",0,0,Graphics.TOP | Graphics.BASELINE);

C. A: g.drawString("Gray Flyer",0,0,Graphics.TOP | Graphics.BASELINE);

D. g.drawString("Gray Flyer",0,0,Graphics.HCENTER | Graphics.BOTTOM);

E. A: g.drawString("Gray Flyer",0,0,Graphics.TOP | Graphics.LEFT);

F. g.drawString("Gray Flyer",0,0,Graphics.TOP | Graphics.HCENTER)

G. A: g.drawString("Gray Flyer",0,0,Graphics.LEFT | Graphics.BASELINE);

H. g.drawString("Gray Flyer",0,0,Graphics.LEFT | Graphics.HCENTER);

Browse 340 Q&As
Questions 8

Which two are provided through a WMA 1.1 Message interface? (Choose two.)

A. address

B. timestamp

C. data

D. header

Browse 340 Q&As
Questions 9

Which two are true about record store listeners? (Choose two.)

A. A record store can have only one registered listener.

B. When a record store is closed, listeners are removed.

C. A record store can have more than one registered listener.

D. Listeners are notified if a record store is deleted.

E. To listen for all events, three listeners must be registered.

Browse 340 Q&As
Questions 10

Which two are true about the javax.wireless.messaging.MessageConnection interface? (Choose two.)

A. Threads that are waiting to receive messages must be blocking threads.

B. This interface is intended for all wireless messaging protocols.

C. When creating a client mode message, a string that identifies an endpoint on the local host should be passed to Connector.open().

D. It provides methods to create Connector objects.

E. An application can have both client and server mode MessageConnection instances open simultaneously.

Browse 340 Q&As
Questions 11

Which guarantees the application can be installed without push registration conflicts?

A. It is NOT the responsibility of the MIDlet to resolve these conflicts. The installer does this automatically.

B. The MIDlet specifies the push registration in the JAD, but will register dynamically if there is a conflict.

C. The MIDlet tries to register the connection dynamically after installation.

D. The MIDlet specifies multiple push registration strings in the JAD.

Browse 340 Q&As
Questions 12

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.

Browse 340 Q&As
Questions 13

A mobile application developer is trying to increase the performance of a game using the MIDP Game API. Which two are legal, valid approaches that fulfill the developer's goal? (Choose two.)

A. restrict the number of frames per Sprite to one

B. base collision detection on rectangle boundaries

C. always ensure that the view window is larger than the visible screen

D. implement keyPressed(), keyReleased(), and keyRepeated()

E. poll for key states only when necessary

Browse 340 Q&As
Exam Code: 1Z0-869
Exam Name: Java Mobile Edition 1 Mobile Application Developer Certified Professional Exam
Last Update: May 09, 2024
Questions: 340 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99