質問 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:How does a TiledLayer determine the sequence of frames in animated tiles?
A. They CANNOT be set. Animation is possible only with a Sprite.
B. The sequence of frames is obtained from an animated Sprite.
C. The tile to be displayed must be set during each frame of the animation.
D. The sequence of frames is obtained from the location in the source image.
正解:C
質問 3:Which two are true when deleting a record store? (Choose two.)
A. If the record store is open, an exception will be thrown.
B. The record store must be open prior to calling deleteRecordStore().
C. The record store must be closed prior to calling deleteRecordStore().
D. For any registered listener of the record store, recordDeleted() will be called.
正解:A,C
質問 4:A MIDlet has entered the paused state. Which is a valid action to attempt to make it active?
A. The MIDlet calls resumeRequest() through a timer.
B. The MIDlet cannot revert back to the active state.
C. The MIDlet calls its own startApp() method.
D. The MIDlet has to wait quietly to be rescheduled.
正解:A
質問 5: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?
A. byte [] b = baos.toByteArray();
try { recId = rs.add(b, 0, b.length); }
catch (Exception e) { }
B. byte [] b = baos.writeByteArray();
try { recId = rs.add(b, 0, b.length); }
catch (Exception e) { }
C. byte [] b = baos.write();
try { recId = rs.addRecord(b, 0, b.length); }
catch (Exception e) { }
D. byte [] b = baos.toByteArray();
try { recId = rs.addRecord(b, 0, b.length); }
catch (Exception e) { }
E. byte [] b = baos.write();
try { recId = rs.add(b, 0, b.length); }
catch (Exception e) { }
F. byte [] b = baos.writeByteArray();
try { recId = rs.addRecord(b, 0, b.length); }
catch (Exception e) { }
正解:D
質問 6:Which two are true about developing a MIDP 2.0-compliant user interface? (Choose two.)
A. Canvas is considered part of the low-level user interface API.
B. Double-buffering is not guaranteed when using Canvas.
C. Support for starting threads in an event handler is not guaranteed across all devices.
D. The only way to guarantee that text displays properly on the screen is to use the low- level API and draw the string directly in the paint() method.
E. Command instances are always mapped to soft buttons on the device.
F. TextBox is not a portable UI Displayable.
正解:A,B
質問 7:Which method in javax.microedition.midlet.MIDlet is used to retrieve the attributes necessary to access a record store in a different MIDlet suite?
A. getAppProperty()
B. getProperty()
C. getAttribute()
D. checkPermission()
E. platformRequest()
F. getSuiteProperty()
正解:A
質問 8: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 order of descending index.
B. The Sprites that are animated are rendered first.
C. The Sprites are rendered in a random order.
D. The Sprites are rendered in an implementation specific manner.
正解: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. Which class is available for use in trusted and untrusted domains?
A) javax.microedition.io.CommConnection
B) javax.microedition.io.SocketConnection
C) javax.microedition.io.HttpsConnection
D) javax.microedition.io.Datagram
2. DRAG DROP
Click the Task button.
Given:
9 . Player p = Manager.createPlayer("http://webserver/music.mp3");
1 0. p.setLoopCount(5);
1 1. p.start();
1 2. p.stop();
1 3. p.close();
What is the order of the states that the Player goes through?
3. Given:
1 0. public class ExampleMIDlet extends MIDlet {
1 1. //...
2 0. public boolean hasCompleted() {
2 1. //...
3 0. }
3 1. public boolean isLowOnMemory() {
3 2. //...
4 0. }
4 1. public void destroyApp(boolean arg) {
4 2. if (X) throw new MIDletStateChangeException();
4 3. }
4 4. //...
5 0. }
Which substitution for X conforms to the MIDP specification?
A) isLowOnMemory()
B) !arg || !hasCompleted()
C) true
D) !hasCompleted()
E) arg && isLowOnMemory()
F) !arg
4. Given the MIDlet code:
1 1. public void startApp() {
1 2. Form f = new Form("hello");
1 3. Display.getDisplay(this).setCurrent(f);
1 4. System.gc();
1 5. System.exit(0);
1 6. f.append("foo");
1 7. }
What is the result?
A) The application runs, and foo prints to the current display.
B) Compilation fails.
C) The application runs, but line 15 is ignored.
D) The application runs without exception, but foo is not printed.
E) The application runs, but throws an exception at runtime.
5. Given:
Font font = Font.getFont(
Font.FACE_SYSTEM,
Font.STYLE_BOLD | Font.STYLE_ITALIC | Font.STYLE_UNDERLINED,
Font.SIZE_MEDIUM);
If Font.STYLE_ITALIC is unavailable on the device, what is the result?
A) IllegalArgumentException occurs.
B) Compile time error occurs.
C) Device substitutes its closest substitute.
D) RuntimeException occurs.
質問と回答:
質問 # 1 正解: C | 質問 # 2 正解: メンバーにのみ表示されます | 質問 # 3 正解: F | 質問 # 4 正解: E | 質問 # 5 正解: C |