質問 1:Given:
public class product {
int id; int price;
public Product (int id, int price) {
this.id = id;
this.price = price;
}
public String toString() { return id + ":" + price; }
}
and the code fragment:
List<Product> products = Arrays.asList(new Product(1, 10),
new Product (2, 30),
new Product (2, 30));
Product p = products.stream().reduce(new Product (4, 0), (p1, p2) -> {
p1.price+=p2.price;
return new Product (p1.id, p1.price);});
products.add(p);
products.stream().parallel()
.reduce((p1, p2) - > p1.price > p2.price ? p1 : p2)
.ifPresent(System.out: :println);
What is the result?
A. 2 : 30
B. The program prints nothing.
C. 4 : 0
D. 4 : 70
E. 4 : 602 : 303 : 201 : 10
正解:D
質問 2:Given the code fragment:
What is the result?
A. Logged out at: 2015-01-12T21:58:00Z
B. Logged out at: 2015-01-12T21:58:19.880Z
C. A compilation error occurs at line n1.
D. Can't logout
正解:A
質問 3:Given the code fragments:
class Caller implements Callable<String> {
String str;
public Caller (String s) {this.str=s;}
public String call()throws Exception { return str.concat ("Caller");}
}
class Runner implements Runnable {
String str;
public Runner (String s) {this.str=s;}
public void run () { System.out.println (str.concat ("Runner"));}
}
and
public static void main (String[] args) throws InterruptedException, ExecutionException { ExecutorService es = Executors.newFixedThreadPool(2); Future f1 = es.submit (new Caller ("Call")); Future f2 = es.submit (new Runner ("Run")); String str1 = (String) f1.get(); String str2 = (String) f2.get();//line n1 System.out.println(str1+ ":" + str2);
}
What is the result?
A. The program terminates after printing:Run RunnerCall Caller : Run
B. The program prints:Run RunnerCall Caller : nullAnd the program does not terminate.
C. An Execution is thrown at run time.
D. A compilation error occurs at line n1.
正解:C
質問 4:Given:
class Vehicle {
int vno;
String name;
public Vehicle (int vno, String name) {
this.vno = vno,;
this.name = name;
}
public String toString () {
return vno + ":" + name;
}
}
and this code fragment:
Set<Vehicle> vehicles = new TreeSet <> ();
vehicles.add(new Vehicle (10123, "Ford"));
vehicles.add(new Vehicle (10124, "BMW"));
System.out.println(vehicles);
What is the result?
A. A ClassCastException is thrown at run time.
B. 10124 BMW10123 Ford
C. 10123 Ford10124 BMW
D. A compilation error occurs.
正解:A
質問 5:Given the definition of the Book class:
Which statement is true about the Book class?
A. It is defined using the factory design pattern.
B. It is an immutable class.
C. It demonstrates encapsulation.
D. It is defined using the singleton design pattern.
E. It demonstrates polymorphism.
正解:C
質問 6:Given the structure of the Student table:
Student (id INTEGER, name VARCHAR)
Given the records from the STUDENT table:
Given the code fragment:
Assume that:
What is the result?
A. The program prints Status: true and two records are deleted from the Student table.
B. The program prints Status: false and two records are deleted from the Student table.
C. A SQLException is thrown at runtime.
D. The program prints Status: false but the records from the Student table are not deleted.
正解:B
質問 7:Given the code fragment:
What is the result?
A. Checking...
B. A compilation error occurs at line n2.
C. A compilation error occurs at line n1.
D. Checking...Checking...
正解:C
質問 8:Given:
What is the result?
A. IT:null
B. IT:0.0
C. A NullPointerException is thrown at run time.
D. A compilation error occurs.
正解:B
質問 9:Given that course.txt is accessible and contains:
Course : : Java
and given the code fragment:
public static void main (String[ ] args) {
int i;
char c;
try (FileInputStream fis = new FileInputStream ("course.txt");
InputStreamReader isr = new InputStreamReader(fis);) {
while (isr.ready()) { //line n1
isr.skip(2);
i = isr.read ();
c = (char) i;
System.out.print(c);
}
} catch (Exception e) {
e.printStackTrace();
}
}
What is the result?
A. The program prints nothing.
B. ur :: va
C. ueJa
D. A compilation error occurs at line n1.
正解:C
弊社のOracle 1z0-809を利用すれば試験に合格できます
弊社のOracle 1z0-809は専門家たちが長年の経験を通して最新のシラバスに従って研究し出した勉強資料です。弊社は1z0-809問題集の質問と答えが間違いないのを保証いたします。
この問題集は過去のデータから分析して作成されて、カバー率が高くて、受験者としてのあなたを助けて時間とお金を節約して試験に合格する通過率を高めます。我々の問題集は的中率が高くて、100%の合格率を保証します。我々の高質量のOracle 1z0-809を利用すれば、君は一回で試験に合格できます。
TopExamは君に1z0-809の問題集を提供して、あなたの試験への復習にヘルプを提供して、君に難しい専門知識を楽に勉強させます。TopExamは君の試験への合格を期待しています。
弊社は無料Oracle 1z0-809サンプルを提供します
お客様は問題集を購入する時、問題集の質量を心配するかもしれませんが、我々はこのことを解決するために、お客様に無料1z0-809サンプルを提供いたします。そうすると、お客様は購入する前にサンプルをダウンロードしてやってみることができます。君はこの1z0-809問題集は自分に適するかどうか判断して購入を決めることができます。
1z0-809試験ツール:あなたの訓練に便利をもたらすために、あなたは自分のペースによって複数のパソコンで設置できます。
一年間の無料更新サービスを提供します
君が弊社のOracle 1z0-809をご購入になってから、我々の承諾する一年間の更新サービスが無料で得られています。弊社の専門家たちは毎日更新状態を検査していますから、この一年間、更新されたら、弊社は更新されたOracle 1z0-809をお客様のメールアドレスにお送りいたします。だから、お客様はいつもタイムリーに更新の通知を受けることができます。我々は購入した一年間でお客様がずっと最新版のOracle 1z0-809を持っていることを保証します。
弊社は失敗したら全額で返金することを承諾します
我々は弊社の1z0-809問題集に自信を持っていますから、試験に失敗したら返金する承諾をします。我々のOracle 1z0-809を利用して君は試験に合格できると信じています。もし試験に失敗したら、我々は君の支払ったお金を君に全額で返して、君の試験の失敗する経済損失を減少します。
安全的な支払方式を利用しています
Credit Cardは今まで全世界の一番安全の支払方式です。少数の手続きの費用かかる必要がありますとはいえ、保障があります。お客様の利益を保障するために、弊社の1z0-809問題集は全部Credit Cardで支払われることができます。
領収書について:社名入りの領収書が必要な場合、メールで社名に記入していただき送信してください。弊社はPDF版の領収書を提供いたします。
Oracle 1z0-809 認定試験の出題範囲:
トピック | 出題範囲 |
---|
トピック 1 | - Develop Code That Declares, Implements And
- Or Extends Interfaces And Use The @Override Annotation
- Develop Code That Uses The Optional Class
|
トピック 2 | - Define And Create And Manage Date-Based And Time-Based Events Using Instant, Period, Duration, And Temporalunit
- Filter A Collection By Using Lambda Expressions
|
トピック 3 | - Develop Code That Uses Static Keyword On Initialize Blocks, Variables, Methods, And Classes
|
トピック 4 | - Develop Code That Uses Stream Data Methods And Calculation Methods
- Iterate Using Foreach Methods Of Streams And List
|
トピック 5 | - Create And Use Singleton Classes And Immutable Classes
- Use Java.Util.Comparator And Java.Lang.Comparable Interfaces
|
トピック 6 | - Develop Code That Uses The Unaryoperator Interface
- Create Custom Exceptions And Auto-Closeable Resources
- Lambda Built-In Functional Interfaces
|
トピック 7 | - Create And Use Arraylist, Treeset, Treemap, And Arraydeque Objects
- Override Hashcode, Equals, And Tostring Methods From Object Class
|
トピック 8 | - Create And Manage Date-Based And Time-Based Events Including A Combination Of Date And Time Into A Single Object Using Localdate, Localtime, Localdatetime
|
トピック 9 | - Use Enumerated Types Including Methods, And Constructors In An Enum Type
- Implement Polymorphism
- Create And Use A Generic Class
|
トピック 10 | - Save Results To A Collection Using The Collect Method And Group
- Partition Data Using The Collectors Class
|
トピック 11 | - Develop Code To Extract Data From An Object Using Peek() And Map() Methods Including Primitive Versions Of The Map() Method
|
トピック 12 | - Use Catch, Multi-Catch, And Finally Clauses
- Use Flatmap() Methods In The Stream API
- Develop Code That Uses The Final Keyword
|
トピック 13 | - Search For Data By Using Search Methods Of The Stream Classes Including Findfirst, Findany, Anymatch, Allmatch, Nonematch
|
トピック 14 | - Work With Dates And Times Across Timezones And Manage Changes Resulting From Daylight Savings Including Format Date And Times Values
|
トピック 15 | - Use The Built-In Interfaces Included In The Java.Util.Function Package Such As Predicate, Consumer, Function, And Supplier
|
トピック 16 | - Develop Code That Uses Binary Versions Of Functional Interfaces
- Use Autoclose Resources With A Try-With-Resources Statement
|
トピック 17 | - Describe Stream Interface And Stream Pipeline
- Create Inner Classes Including Static Inner Class, Local Class, Nested Class, And Anonymous Inner Class
|
参照:https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-809