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())
Which three dimensions of a standard-size application does the JTWI 1.0 specification define? (Choose three.)
A. JAR size
B. heap size
C. RMS data size
D. screen size
E. JAD size
The developer is designing a game that uses the LayerManager and Sprite classes. Three Sprite objects are added to a LayerManager object and a call is placed to the LayerManager.paint(Graphics, x, y) method. In what order are the Sprite objects rendered to the device display?
A. The Sprites are rendered in a random order.
B. The Sprites are rendered in order of descending index.
C. The Sprites that are animated are rendered first.
D. The Sprites are rendered in an implementation specific manner.
Which two are true about MIDlet suite provisioning? (Choose two.)
A. A JTWI-compliant device must support HTTP 1.1.
B. A JTWI-compliant device must support HTTP 1.0.
C. A JTWI-compliant device must support HTTP 1.1 and cookies.
D. A JTWI-compliant device must support HTTP authentication.
Which image format(s) must be supported by a JTWI 1.0 compliant device for Image object creation?
A. JPEG and GIF
B. PNG only
C. TIFF and PNG
D. PNG and JPEG
E. all formats
Given:
14.
Canvas canvas;
15.
// ...
24.
canvas.repaint(10,10,20,20);
25.
canvas.serviceRepaints();
What occurs when serviceRepaints() is called?
A. The application blocks until the repaint() method returns.
B. The application immediately calls the paint() method.
C. The application immediately calls the repaint() method.
D. The application blocks until the paint() method returns.
Given the MIDlet code:
7.
public void exitApp() {
8.
Runtime rt = Runtime.getRuntime();
9.
rt.exit(0);
10.
}
What is the result of a call to exitApp()?
A. Compilation fails because of an error on line 9.
B. A SecurityException is thrown at line 9.
C. Compilation fails because of an error on line 8.
D. exitApp() completes execution successfully.
Which four are direct subclasses of Screen? (Choose four.)
A. Form
B. List
C. Canvas
D. TextField
E. Alert
F. Choice
G. TextBox
Given the JAD file:
1.
MIDlet-1: YourMIDlet, MyMIDlet.png, YourMIDlet
2.
MIDlet-2: MyMIDlet, MyMIDlet.png, MyMIDlet
3.
MIDlet-3: TheirMIDlet, MyMIDlet.png, TheirMIDlet
4.
MIDlet-Jar-Size: 46902
5.
MIDlet-Name: MyMIDlet
6.
MIDlet-Jar-URL: http://mywebserver.com/mymidlets/MyMIDlet.jar
7.
MIDlet-Vendor: MyCompany
8.
MIDlet-Version: 1.1
Which two can be true for a JTWI-compliant device after installation of the MIDlet suite? (Choose two.)
A. The device executes the MIDlet referred to by the MIDlet-2 attribute in the JAD file.
B. The device executes the MIDlet referred to by the MIDlet-1 attribute in the JAD file.
C. The device shows a menu to the user for selecting the MIDlet to execute.
D. The device executes all three MIDlets in sequence starting from the first.
Click the Exhibit button. Which two are true? (Choose two.)
A. In class A, no new events will be delivered to the application until after the commandAction() method completes.
B. The event-handling mechanism in class A allows multiple command events to be delivered to the application in parallel.
C. The commandAction() method code in class B is compliant with the event-handling approach recommended in the MIDP 2.0 specification.
D. The commandAction() method code in class A is NOT guaranteed to be portable across all MIDP 2.0-compliant devices.
E. In class B, no new events will be delivered to the application until after the commandAction() method completes.
F. The event-handling in class A will NOT print done with action until after the run() method has completed.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-869 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.