質問 1:A JTWI device has a working socket implementation. A MIDlet requests permission to use socket connections on this device using the attribute MIDlet-Permissions-Opt, but is denied permission.
Given:
2 0. public void connect() {
2 1. try {
2 2. String addr = "socket://host.com:79";
2 3. SocketConnection sc;
2 4. sc = (SocketConnection) Connector.open(addr);
2 5. sc.setSocketOption(SocketConnection.LINGER, 5);
2 6. InputStream is = sc.openInputStream();
2 7. OutputStream os = sc.openOutputStream();
2 8. os.write("\\r\\n".getBytes());
2 9. int ch = is.read();
3 0. // ...
3 5. } catch (IOException ioe) {
3 6. // ...
4 0. }
4 1. }
Which is true assuming that the argument to Connector.open() points to a valid destination, and the device has resources to create new socket connections?
A. If connect() executes, a SecurityException is thrown at runtime at line 28.
B. If connect() executes, a SecurityException is thrown at runtime at line 24.
C. If connect() executes, a ConnectionNotFoundException is thrown at runtime at line 24.
D. The device disallows the MIDlet to be installed.
E. If connect() executes, a SecurityException is thrown at runtime at line 26.
正解:B
質問 2:An open record store, rs, contains five records with record IDs 1, 2, 3, 4, and 5.
1 . byte[] data = new byte[10];
2 .
3 . for (int i = 1; i <= rs.getNumRecords(); i++)
4 . {
5 . if (rs.getRecordSize(i) > data.length)
6 . data = new byte[rs.getRecordSize(i)];
7 . rs.getRecord(i, data, 0);
8 . System.out.println(new String(data));
9 . }
If record ID 3 is deleted, and the code is run, what is the result?
A. This code generates a NullPointerException.
B. This code generates a RecordIDException.
C. This code generates an InvalidRecordIDException.
D. This code runs without any errors.
E. This code generates a RuntimeException.
正解:C
質問 3:Given:
11. Alert alt = new Alert("");
12. alt.setType(AlertType.ALARM);
Which line of code requests alt to display an alert until acknowledged by the user?
A. alt.setType(Alert.FOREVER);
B. alt.setTimeout(Alert.MODAL);
C. alt.setType(Alert.MODAL);
D. alt.setTimeout(Alert.FOREVER);
正解:D
質問 4:Given a MIDP 2.0 device supports alpha blending, a MIDlet needs to render semi- transparent images of size 10x10 pixels. However, these images need to be generated at runtime. That is, they CANNOT be loaded as PNGs. What is the correct way to create a
10x10, red, semi-transparent image, using only the MIDP 2.0 API?
A. use createRGBImage() to create an immutable Image from ARGB data with the desired values
B. use createImage() to create a mutable Image; first fill it with white pixels, then fill it with red pixels
C. use createImage() to create a mutable Image, then fill it with red pixels
D. This is not possible. An Image with semi-transparency CANNOT be created at runtime.
正解:A
質問 5:Which is true regarding CLDC?
A. A CLDC implementation CANNOT provide features that are optional.
B. A CLDC implementation must provide at least one optional feature.
C. A CLDC implementation generally defines a superset of J2SE technology.
D. A CLDC implementation can provide features that are optional.
正解:A
質問 6:Which two are true about record store listeners? (Choose two.)
A. To listen for all events, three listeners must be registered.
B. A record store can have more than one registered listener.
C. Listeners are notified if a record store is deleted.
D. A record store can have only one registered listener.
E. When a record store is closed, listeners are removed.
正解:B,E
質問 7:Given the JAD file fragment:
MIDlet-1: Calendar, calendar.png, com.example.CalendarMIDlet
MIDlet-2: Chat, chat.png, com.example.ChatMIDlet
What CalendarMIDlet code launches ChatMIDlet at the time specified by variable chatTime?
A. PushRegistry.registerAlarm("Chat", chatTime);
B. PushRegistry.registerAlarm
(Class.forName("com.example.ChatMIDlet"), chatTime);
C. PushRegistry.registerAlarm
("com.example.ChatMIDlet", chatTime);
D. PushRegistry.registerAlarm("MIDlet-1", chatTime);
正解:C
質問 8:A MIDP 2.0 compliant device creates an HTTP connection to a server that supports HTTP
1.1. Which is true?
A. The device definitely supports HTTP 1.1.
B. There is no such thing as a 1.1 version of HTTP.
C. The device definitely does NOT support HTTP 1.1.
D. The device may or may NOT support HTTP 1.1.
正解:A
質問 9:Click the Exhibit button.
What is visible on the display when this MIDlet is executed?
A. A black screen is shown momentarily, and then a white screen is shown.
B. A white screen is shown momentarily, and then a black screen is shown.
C. The screen continuously switches back and forth between black and white.
D. A java.lang.RuntimeException is thrown.
正解:A
TopExamは君に1Z0-869の問題集を提供して、あなたの試験への復習にヘルプを提供して、君に難しい専門知識を楽に勉強させます。TopExamは君の試験への合格を期待しています。
一年間の無料更新サービスを提供します
君が弊社のOracle 1Z0-869をご購入になってから、我々の承諾する一年間の更新サービスが無料で得られています。弊社の専門家たちは毎日更新状態を検査していますから、この一年間、更新されたら、弊社は更新されたOracle 1Z0-869をお客様のメールアドレスにお送りいたします。だから、お客様はいつもタイムリーに更新の通知を受けることができます。我々は購入した一年間でお客様がずっと最新版のOracle 1Z0-869を持っていることを保証します。
弊社は失敗したら全額で返金することを承諾します
我々は弊社の1Z0-869問題集に自信を持っていますから、試験に失敗したら返金する承諾をします。我々のOracle 1Z0-869を利用して君は試験に合格できると信じています。もし試験に失敗したら、我々は君の支払ったお金を君に全額で返して、君の試験の失敗する経済損失を減少します。
安全的な支払方式を利用しています
Credit Cardは今まで全世界の一番安全の支払方式です。少数の手続きの費用かかる必要がありますとはいえ、保障があります。お客様の利益を保障するために、弊社の1Z0-869問題集は全部Credit Cardで支払われることができます。
領収書について:社名入りの領収書が必要な場合、メールで社名に記入していただき送信してください。弊社はPDF版の領収書を提供いたします。
弊社のOracle 1Z0-869を利用すれば試験に合格できます
弊社のOracle 1Z0-869は専門家たちが長年の経験を通して最新のシラバスに従って研究し出した勉強資料です。弊社は1Z0-869問題集の質問と答えが間違いないのを保証いたします。

この問題集は過去のデータから分析して作成されて、カバー率が高くて、受験者としてのあなたを助けて時間とお金を節約して試験に合格する通過率を高めます。我々の問題集は的中率が高くて、100%の合格率を保証します。我々の高質量のOracle 1Z0-869を利用すれば、君は一回で試験に合格できます。
弊社は無料Oracle 1Z0-869サンプルを提供します
お客様は問題集を購入する時、問題集の質量を心配するかもしれませんが、我々はこのことを解決するために、お客様に無料1Z0-869サンプルを提供いたします。そうすると、お客様は購入する前にサンプルをダウンロードしてやってみることができます。君はこの1Z0-869問題集は自分に適するかどうか判断して購入を決めることができます。
1Z0-869試験ツール:あなたの訓練に便利をもたらすために、あなたは自分のペースによって複数のパソコンで設置できます。
Oracle Java Mobile Edition 1 Mobile Application Developer Certified Professional 認定 1Z0-869 試験問題:
1. During a MIDlet suite installation, a JTWI-compliant device performs the following actions:
downloads and installs the JAD file
downloads the JAR file
fails to install the MIDlet suite
What is the correct behavior?
A) The device must save the JAD file for future downloads of the same MIDlet suite.
B) The device must log the failure in persistent storage.
C) The device must save the JAD and the JAR file for future upgrading.
D) The device must free the space allocated for that MIDlet suite.
2. Given:
11. Alert alt = new Alert("");
12. alt.setType(AlertType.ALARM);
Which line of code requests alt to display an alert until acknowledged by the user?
A) alt.setType(Alert.FOREVER);
B) alt.setTimeout(Alert.MODAL);
C) alt.setType(Alert.MODAL);
D) alt.setTimeout(Alert.FOREVER);
3. Which two events can result in the removal of a MIDlet's dynamic push connection registration? (Choose two.)
A) Using a call to PushRegistry.registerConnection().
B) When the MIDlet is uninstalled.
C) When MIDlet.destroyApp() is called.
D) Using a call to PushRegistry.removeConnection().
E) Opening the connection using Connector.open().
F) Using a call to PushRegistry.unregisterConnection().
4. Given:
A record store has three records: Record 1 contains Apple, Record 2 contains Mango, Record 3 contains Cherry, and the RecordComparator class:
1 . public class CompareTest implements RecordComparator {
2 . public int compare(byte[] rec1, byte[] rec2) {
3 . String str1 = new String(rec1), str2 = new String(rec2);
4 . int result = str2.compareTo(str1);
5 . if (result == 0)
6 . return RecordComparator.EQUIVALENT;
7 . else if (result < 0)
8 . return RecordComparator.PRECEDES;
9 . else
1 0. return RecordComparator.FOLLOWS;
1 1. }
1 2. }
What is the return order of the records for an enumerator using CompareTest?
A) Cherry, Apple, Mango
B) Apple, Mango, Cherry
C) Apple, Cherry, Mango
D) Mango, Cherry, Apple
E) Cherry, Mango, Apple
F) Mango, Apple, Cherry
5. A MIDlet suite has several signer certification paths using X.509 PKI. Which is true?
A) A JTWI device must validate all the certification paths to install the MIDlet suite. The signer certificates must contain the same public keys.
B) A JTWI device must validate all the certification paths to install the MIDlet suite. The signer certificates may contain different public keys.
C) A JTWI device needs to only validate one of the certification paths to install the MIDlet suite. The signer certificates must contain the same public keys.
D) A JTWI device needs to only validate one of the certification paths to install the MIDlet suite. The signer certificates may contain different public keys.
質問と回答:
質問 # 1 正解: D | 質問 # 2 正解: D | 質問 # 3 正解: B、F | 質問 # 4 正解: D | 質問 # 5 正解: C |