Oracle 1Z0-501 試験概要:
| 認定ベンダー: | Oracle |
|---|---|
| 試験名: | Java認定プログラマー |
| 試験番号: | 1Z0-501 |
| 対応言語: | English |
| 関連資格: | Oracle Certified Professional Java Programmer |
| 試験形式: | 選択式 |
| サンプル問題: | Oracle 1Z0-501 サンプル問題 |
| 受験方法: | 公認テストセンターを通じて実施されるOracle認定試験。この試験はレガシー/廃止された試験です。 |
| 前提条件: | このレガシー試験に関して公開されている公式の前提条件情報はありません。 |
| 公式シラバスのURL: | https://education.oracle.com/oracle-certification-path/pFamily_48 |
Oracle 1Z0-501 試験シラバストピック:
| セクション | 目標 |
|---|---|
| トピック 1: 並行処理 | - スレッド
|
| トピック 2: Java言語の基本 | - 言語の基礎
|
| トピック 3: 入出力 | - I/O API
|
| トピック 4: オブジェクト指向プログラミング | - クラスとオブジェクト
|
| トピック 5: 例外処理 | - 例外
|
| トピック 6: コアJava API | - コレクションとユーティリティ
|
Oracle Java Certified Programmer 認定 1Z0-501 試験問題:
問題 #1
Exhibit:
1 . public class X{
2 . private static int a;
3 .
5 . public static void main (String[] args){
6 . modify (a);
7 . }
8 .
9 . public static void modify (int a) {
1 0. a++;
1 1.}
1 2. }
What is the result?
A. The program runs and prints "0"
B. The program runs and prints "1"
C. En error "possible undefined variable" at line 5 causes compilation to fail.
D. The program runs but aborts with an exception.
E. En error "possible undefined variable" at line 10 causes compilation to fail.
問題 #2
Given:
1 . String foo = "blue";
2 . Boolean[]bar = new Boolean [1];
3 . if (bar[0]){
4 .foo = "green";
5 .}
What is the result?
A. Foo has the value of null.
B. Foo has the value of "green"
C. Foo has the value of "blue"
D. Foo has the value of ""
E. An exception is thrown.
F. The code will not compile.
問題 #3
CORRECT TEXT
Exhibit:
1 . Public class test (
2 . Public static void stringReplace (String text)(
3 .Text = text.replace ('j' , 'i');
4 . )
5 .
6 . public static void bufferReplace (StringBuffer text)(
7 .text = text.append ("C")
8 . )
9 .
1 0. public static void main (String args[]} (
1 1.String textString = new String ("java");
1 2.StringBuffer text BufferString = new StringBuffer ("java");
1 3.
1 4.stringReplace (textString);
1 5.BufferReplace (textBuffer);
1 6.
1 7.System.out.printIn (textString + textBuffer);
1 8.}
1 9.)
What is the output?
問題 #4
Exhibit
1 . public class SyncTest{
2 . public static void main(String[] args){
3 . final StringBuffer s1= new StringBuffer();
4 . final StringBuffer s2= new StringBuffer();
5 . new Thread (){
6 .public void run() {
7 .synchronized(s1) {
8 .s2.append("A");
9 .synchronized(s2) {
1 0. s2.append("B");
1 1.System.out.print(s1);
1 2.System.out.print(s2);
1 3. }
1 4.}
1 5.}
1 6. }.start();
1 7. new Thread() {
1 8. public void run() {
1 9.synchronized(s2) {
2 0.s2.append("C");
2 1.synchronized(s1) {
2 2.s1.append("D");
2 3.System.out.print(s2);
2 4.System.out.print(s1);
2 5.}
2 6.}
2 7.}
2 8.}.start();
2 9.}
3 0. }
Which two statements are true? (Choose Two)
A. The program prints "CDDACB"
B. The output is a non-deterministic point because of a possible deadlock condition.
C. The output is dependent on the threading model of the system the program is running on.
D. The program prints "ABBCAD"
E. The program prints "ADCBADBC"
問題 #5
Which constructs a DataOutputStream?
A. New dataInputStream(new FileInputStream("in.txt"));
B. New dataInputStream(new FileWriter("in.txt"));
C. New dataInputStream(new writer("in.txt"));
D. New dataInputStream(new InputStream("in.txt"));
E. New dataInputStream("in.txt");
F. New dataInputStream(new file("in.txt"));
解説:
| 問題 #1 正解: A | 問題 #2 正解: F | 問題 #3 正解: 会員のみ閲覧可能 | 問題 #4 正解: A、B | 問題 #5 正解: A |














1271 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
