最新的Oracle Java Mobile Edition 1 Mobile Application Developer Certified Professional - 1Z0-869免費考試真題
問題1
Click the Exhibit button.
Which produces the results shown in device A and device B?

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

正確答案: C
問題2
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?
正確答案: D
問題3
DRAG DROP
Click the Task button.
Assuming that rs is a valid and open record store, place the correct line of code on line 20 to complete the code fragment.

Click the Task button.
Assuming that rs is a valid and open record store, place the correct line of code on line 20 to complete the code fragment.

正確答案:

問題4
A MIDlet that is to be installed on a phone has different values for the MIDlet-Name property between the JAD file and the manifest in the JAR file. Which is true?
正確答案: B
問題5
Given:
1 0. Player p = Manager.createPlayer(Manager.TONE_DEVICE_LOCATOR);
1 1. VolumeControl vc = p.getVolumeControl();
1 2. vc.setLevel(42);
1 3. vc.setMute(true);
1 4. System.out.println(vc.getLevel());
Which is printed to the console?
1 0. Player p = Manager.createPlayer(Manager.TONE_DEVICE_LOCATOR);
1 1. VolumeControl vc = p.getVolumeControl();
1 2. vc.setLevel(42);
1 3. vc.setMute(true);
1 4. System.out.println(vc.getLevel());
Which is printed to the console?
正確答案: A
問題6
Given the MIDlet code:
7 .//..
1 0.public void startApp(){
1 1.Float f = new Float(3.14);
1 2.System.out.println("Pi: " + f);
1 3.
1 4.}
1 5.//..
What is the result when working with a CLDC 1.1 implementation?
7 .//..
1 0.public void startApp(){
1 1.Float f = new Float(3.14);
1 2.System.out.println("Pi: " + f);
1 3.
1 4.}
1 5.//..
What is the result when working with a CLDC 1.1 implementation?
正確答案: D
問題7
Given:
10. //...
2 0. int[] foo = new int[10000];
2 1. foo = null;
2 2. System.gc();
2 3. //...
Which is true once the program execution reaches line 23?
10. //...
2 0. int[] foo = new int[10000];
2 1. foo = null;
2 2. System.gc();
2 3. //...
Which is true once the program execution reaches line 23?
正確答案: B
問題8
Which two are true about developing a MIDP 2.0-compliant user interface? (Choose two.)
正確答案: B,E
問題9
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:
2 1. addNewRecord("Amy");
2 2. addNewRecord("Bill");
2 3. addNewRecord("Candy");
2 4. addNewRecord("Doug");
2 5. rs.deleteRecord(1);
2 6. rs.deleteRecord(3);
2 7. addNewRecord("Ethan");
2 8. addNewRecord("Frank");
2 9. int nextRecNum = rs.getNextRecordID();
What is the value of nextRecNum?
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:
2 1. addNewRecord("Amy");
2 2. addNewRecord("Bill");
2 3. addNewRecord("Candy");
2 4. addNewRecord("Doug");
2 5. rs.deleteRecord(1);
2 6. rs.deleteRecord(3);
2 7. addNewRecord("Ethan");
2 8. addNewRecord("Frank");
2 9. int nextRecNum = rs.getNextRecordID();
What is the value of nextRecNum?
正確答案: A
問題10
Given:
rs is an object of type javax.microedition.rms.RecordStore.
baos is an object of type java.io.DataOutputStream.
recId is an int.
Which adds a record to rs?
rs is an object of type javax.microedition.rms.RecordStore.
baos is an object of type java.io.DataOutputStream.
recId is an int.
Which adds a record to rs?
正確答案: F

