Oracle 1Z0-869 - Questions & Answers
Free preview · every answer includes a full explanation
Product page: https://prepkeys.com/1z0-869.html
Given:
a new record store rs, of type javax.microedition.rms.RecordStore containing zero records
a method called addNewRecord that adds a record to rs
And:
21. addNewRecord("Amy");
22. addNewRecord("Bill");
23. addNewRecord("Candy");
24. addNewRecord("Doug");
25. rs.deleteRecord(1);
26. rs.deleteRecord(3);
27. addNewRecord("Ethan");
28. addNewRecord("Frank");
29. int nextRecNum = rs.getNextRecordID();
What is the value of nextRecNum?
How would a MIDlet that uses a GameCanvas efficiently update only a small region of the screen, from the data in the off-screen buffer?
Given:
10. //...
20. try {
21. Hashtable table = new Hashtable();
22. for (;;) table.put(new Object(), new Object());
23. } catch (OutOfMemoryException e) {
24. Display.getDisplay().setCurrent(new Alert("Out of Memory!"));
25. }
26. //...
Which is true?
Which is true for Item?
Which three statements are true regarding the handling of wireless connections? (Choose three.)
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?
Click the Exhibit button.
What is the result?

Which method is initially called when the MIDlet starts in response to a push notification?
Given the push connection string:
MIDlet-Push-1: socket://:79, com.sun.example.SampleChat, 192.3?.?.
* Which two addresses are allowed to push connection notifications to the application? (Choose two.)
Which two errors are available in CLDC? (Choose two.)