質問 1:DRAG DROP
Click the Task button.
正解:
質問 2:A team of programmers is involved in reviewing a proposed design for a new utility class. After some discussion, they realize that the current design allows other classes to access methods in the utility class that should be accessible only to methods within the utility class itself. What design issue has the team discovered?
A. Tight coupling
B. High cohesion
C. Low cohesion
D. Strong encapsulation
E. Weak encapsulation
F. Loose coupling
正解:E
質問 3:Given:
1.public class TestFive {
2.private int x;
3.public void foo() {
4.int current = x;
5.x = current + 1;
6.}
7.public void go() {
8.for(int i = 0; i < 5; i++) {
9.new Thread() {
10.public void run() {
11.foo();
12.System.out.print(x + ", ");
13.} }.start();
14.} }
Which two changes, taken together, would guarantee the output: 1, 2, 3, 4, 5, ? (Choose two.)
A. wrap the for loop code inside the go() method with a synchronized block synchronized(this) { // for loop code here }
B. change the variable declaration on line 2 to private volatile int x;
C. change line 7 to public synchronized void go() {
D. move the line 12 print statement into the foo() method
E. wrap the code inside the foo() method with a synchronized( this ) block
正解:D,E
質問 4:Given:
23.Object [] myObjects = {
24.new Integer(12),
25.new String("foo"),
26.new Integer(5),
27.new Boolean(true)
28.};
29.Arrays.sort(myObjects);
30.for(int i=0; i<myObjects.length; i++) {
31.System.out.print(myObjects[i].toString());
32.System.out.print(" ");
33.}
What is the result?
A. The value of all four objects prints in natural order.
B. Compilation fails due to an error in line 29.
C. A ClassCastException occurs in line 31.
D. Compilation fails due to an error in line 23.
E. A ClassCastException occurs in line 29.
正解:E
質問 5:Given:
10.class Nav{
11.public enum Direction { NORTH, SOUTH, EAST, WEST }
12.}
13.public class Sprite{
14.// insert code here
15.}
Which code, inserted at line 14, allows the Sprite class to compile?
A. Nav.Direction d = Nav.Direction.NORTH;
B. Direction d = NORTH;
C. Nav.Direction d = NORTH;
D. Direction d = Direction.NORTH;
正解:A
質問 6:Given:
1.interface DoStuff2 {
2.float getRange(int low, int high); }
3.4.
interface DoMore {
5.float getAvg(int a, int b, int c); }
6.7.
abstract class DoAbstract implements DoStuff2, DoMore { }
8.9.
class DoStuff implements DoStuff2 {
10.public float getRange(int x, int y) { return 3.14f; } }
11.12.
interface DoAll extends DoMore {
13.float getAvg(int a, int b, int c, int d); } What is the result?
A. Compilation fails. Only lines 7 and 13 contain errors.
B. Compilation fails. Only line 12 contains an error.
C. Compilation fails. Only line 7 contains an error.
D. Compilation fails. Only line 13 contains an error.
E. Compilation fails. Only lines 7 and 12 contain errors.
F. The file will compile without error.
G. Compilation fails. Lines 7, 12, and 13 contain errors.
正解:F
質問 7:Given:
1.public class GC {
2.private Object o;
3.private void doSomethingElse(Object obj) { o = obj; }
4.public void doSomething() {
5.Object o = new Object();
6.doSomethingElse(o);
7.o = new Object();
8.doSomethingElse(null);
9.o = null;
10.}
11.}
When the doSomething method is called, after which line does the Object created in line 5 become available for garbage collection?
A. Line 6
B. Line 10
C. Line 8
D. Line 5
E. Line 7
F. Line 9
正解:C
質問 8:Given:
1.package com.company.application;
2.3.
public class MainClass {
4.public static void main(String[] args) {}
5.}
And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to "." (current directory). Which two java commands entered at the command line will run MainClass? (Choose two.)
A. java -classpath . MainClass if run from the /apps/com/company/application directory
B. java -classpath /apps/com/company/application:. MainClass if run from the /apps directory
C. java com.company.application.MainClass if run from the /apps/com/company/application directory
D. java MainClass if run from the /apps directory
E. java com.company.application.MainClass if run from the /apps directory
F. java -classpath /apps com.company.application.MainClass if run from any directory
正解:E,F
一年間の無料更新サービスを提供します
君が弊社のOracle 1Z0-851をご購入になってから、我々の承諾する一年間の更新サービスが無料で得られています。弊社の専門家たちは毎日更新状態を検査していますから、この一年間、更新されたら、弊社は更新されたOracle 1Z0-851をお客様のメールアドレスにお送りいたします。だから、お客様はいつもタイムリーに更新の通知を受けることができます。我々は購入した一年間でお客様がずっと最新版のOracle 1Z0-851を持っていることを保証します。
弊社は無料Oracle 1Z0-851サンプルを提供します
お客様は問題集を購入する時、問題集の質量を心配するかもしれませんが、我々はこのことを解決するために、お客様に無料1Z0-851サンプルを提供いたします。そうすると、お客様は購入する前にサンプルをダウンロードしてやってみることができます。君はこの1Z0-851問題集は自分に適するかどうか判断して購入を決めることができます。
1Z0-851試験ツール:あなたの訓練に便利をもたらすために、あなたは自分のペースによって複数のパソコンで設置できます。
弊社は失敗したら全額で返金することを承諾します
我々は弊社の1Z0-851問題集に自信を持っていますから、試験に失敗したら返金する承諾をします。我々のOracle 1Z0-851を利用して君は試験に合格できると信じています。もし試験に失敗したら、我々は君の支払ったお金を君に全額で返して、君の試験の失敗する経済損失を減少します。
TopExamは君に1Z0-851の問題集を提供して、あなたの試験への復習にヘルプを提供して、君に難しい専門知識を楽に勉強させます。TopExamは君の試験への合格を期待しています。
弊社のOracle 1Z0-851を利用すれば試験に合格できます
弊社のOracle 1Z0-851は専門家たちが長年の経験を通して最新のシラバスに従って研究し出した勉強資料です。弊社は1Z0-851問題集の質問と答えが間違いないのを保証いたします。

この問題集は過去のデータから分析して作成されて、カバー率が高くて、受験者としてのあなたを助けて時間とお金を節約して試験に合格する通過率を高めます。我々の問題集は的中率が高くて、100%の合格率を保証します。我々の高質量のOracle 1Z0-851を利用すれば、君は一回で試験に合格できます。
安全的な支払方式を利用しています
Credit Cardは今まで全世界の一番安全の支払方式です。少数の手続きの費用かかる必要がありますとはいえ、保障があります。お客様の利益を保障するために、弊社の1Z0-851問題集は全部Credit Cardで支払われることができます。
領収書について:社名入りの領収書が必要な場合、メールで社名に記入していただき送信してください。弊社はPDF版の領収書を提供いたします。
Oracle 1Z0-851 認定試験の出題範囲:
トピック | 出題範囲 |
---|
トピック 1 | - Develop code that implements an if or switch statement; and identify legal argument types for these statements
|
トピック 2 | |
トピック 3 | - Develop code that makes use of assertions
|
トピック 4 | - Develop code that declares an abstract class. Develop code that extends an abstract class
|
参照:https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-851