試験準備には欠かさない!1z0-808問題解答で1z0-808試験問題集 [Q63-Q78]

Share

試験準備には欠かさない!1z0-808問題解答で1z0-808試験問題集

リアルOracle 1z0-808試験問題 [更新されたのは2021年]


Oracle 1z0-808 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • 演算子と決定コンストラクトの使用
  • Switchステートメントの使用、IfとIf
  • ElseとTernaryコンストラクトの作成
トピック 2
  • 他のJavaパッケージをインポートして、コードでアクセスできるようにします
トピック 3
  • オブジェクトフィールドの読み取りまたは書き込み方法を知っている
  • オブジェクトのライフサイクルを説明する(作成、「再割り当てによる間接参照」およびガベージコレクション)
トピック 4
  • ポリモーフィズムを利用するコードを開発します。メソッドをオーバーライドするコードを開発する
  • 参照のタイプとオブジェクトのタイプを区別する
トピック 5
  • 拡張Forループを含むForループを作成して使用する
トピック 6
  • 継承とその利点を説明する
  • キャストが必要な場合を判断する
  • 抽象クラスとインターフェイスを使用する
トピック 7
  • 値を変更するメソッドに渡されたときのオブジェクト参照とプリミティブ値への影響を判別する
トピック 8
  • 変数の宣言と初期化(プリミティブデータ型のキャストを含む)
  • オブジェクト参照変数とプリミティブ変数の区別
トピック 9
  • メインメソッドを使用して実行可能Javaアプリケーションを作成する
  • コマンドラインからJavaプログラムを実行する。コンソール出力を生成する

 

質問 63
Given:

What is the result?

  • A. 9 5
  • B. 81 25
  • C. Compilation fails.
  • D. 0 0

正解: A

解説:

 

質問 64
Given the code fragment:

Assume that the system date is June 20, 2014. What is the result?
A:

B:

C: Compilation fails.
D: A DateParseExceptionis thrown at runtime.

  • A. Option D
  • B. Option B
  • C. Option C
  • D. Option A

正解: D

 

質問 65
Given the following two classes: How should you write methods in the ElectricAccount class at line n1 so that the member variable bill is always equal to the value of the member variable kwh multiplied by the member variable rate?

Any amount of electricity used by a customer (represented by an instance of the customer class) must contribute to the customer's bill (represented by the member variable bill) through the method useElectricity method. An instance of the customer class should never be able to tamper with or decrease the value of the member variable bill.

  • A. Option D
  • B. Option B
  • C. Option C
  • D. Option A

正解: C,D

 

質問 66
Given the code fragment:

What is the result?

  • A. Compilation fails
  • B. 0 2 4
  • C. 0 2 4 6
  • D. 2 4

正解: B

 

質問 67
Given:
Acc.java:

Which statement is true?

  • A. Only s is accessible via obj.
  • B. Both p and s are accessible via obj.
  • C. Both r and s are accessible via obj.
  • D. p, r, and s are accessible via obj.

正解: A

 

質問 68
Given the code fragment:

What is the result?

  • A. Compilation fails
  • B. A B C D Work done
  • C. A Work done
  • D. A B C Work done

正解: C

 

質問 69
Given the code fragment:

Which two modifications, made independently, enable the code to compile?

  • A. Make the method at line n4 public.
  • B. Make the method at line n2 public.
  • C. Make the method at line n3 protected.
  • D. Make the method at line n3 public.
  • E. Make the method at line n1 public.

正解: B,D

 

質問 70
Given:

And given the code fragment:

What is the result?

  • A. Compilation fails
  • B. C2C2
  • C. C1C2
  • D. C1C1

正解: B

 

質問 71
Given the following code:

What is the output?

  • A. 4
    21
  • B. 4
    5
  • C. 3
    5
  • D. 4
    7
  • E. 5
    4
  • F. 4
    4

正解: B

 

質問 72
Given these classes:

And given this main method:

Which two options compile when placed at line n1 of the main method? (Choose two.)

  • A. employee.budget = 200_000;
  • B. employee.salary = 50_000;
  • C. director.stockOptions = 1_000;
  • D. manager.budget = 1_000_000;
  • E. manager.stockOption = 500;
  • F. director.salary = 80_000;

正解: B,F

 

質問 73
Given:

What is the result?

  • A. 10:20
  • B. Compilation fails at line n2
  • C. Compilation fails at line n1
  • D. 0:20

正解: B

 

質問 74
Given the code fragment:

What is the result?

  • A. It results in a compile time error at lines at lines 12 and 15.
  • B. It results in a compile time error at line 9.
  • C. It results in a compile time error at line 18.
  • D. It prints : 1

正解: C

 

質問 75
Given the following code for the classes MyException and Test:

What is the result?

  • A. A B
  • B. A
  • C. A compile time error occurs at line n1
  • D. B
  • E. Either A or B

正解: D

 

質問 76
Given:

What is the result?

  • A. AnArrayIndexOutOfBoundsExceptionis thrown at runtime.
  • B. ANullPointerExceptionis thrown at runtime.
  • C. Compilation fails.
  • D. nullRichardDonald
  • E. RichardDonald

正解: B

 

質問 77
Given the code fragment:

What is the result if the integer aVar is 9?

  • A. 10 Hello universe!
  • B. Compilation fails.
  • C. 10 Hello world!
  • D. 9 Hello world!

正解: C

 

質問 78
......

1z0-808合格させる試験問題集には更新されたのは2021年:https://www.passtest.jp/Oracle/1z0-808-shiken.html

無料1z0-808試験問題集でお手軽に試験合格させる:https://drive.google.com/open?id=1EpATBFovdxvnn1GcyVyncOh_GvDREKJJ