質問 1:コードの断片を考えると:
class Employee {
Optional<Address> address;
Employee (Optional<Address> address) {
this.address = address;
}
public Optional<Address> getAddress() { return address; }
}
class Address {
String city = "New York";
public String getCity { return city: }
public String toString() {
return city;
}
}
and
Address address = null;
Optional<Address> addrs1 = Optional.ofNullable (address);
Employee e1 = new Employee (addrs1);
String eAddress = (addrs1.isPresent()) ? addrs1.get().getCity() : "City Not available"; What is the result?
A. City Not available
B. A NoSuchElementException is thrown at run time.
C. null
D. New York
正解:A
質問 2:コードの断片を考えると:
Path file = Paths.get ("courses.txt");
// line n1
courses.txtにアクセスできると仮定します。
コードがcourses.txtファイルの内容を印刷できるようにするために、どのコードフラグメントをn1行目に挿入できますか?
A. Stream<String> fc = Files.readAllLines (file);fc.forEach (s - > System.out.println(s));
B. List<String> fc = Files.readAllLines(file);fc.stream().forEach (s -> System.out.println(s));
C. Stream<String> fc = Files.list (file);fc.forEach (s -> System.out.println(s));
D. List<String> fc = Files.list(file);fc.stream().forEach (s -> System.out.println(s));
正解:B
質問 3:コードの断片を考えると:

そして

結果は何ですか?
A. null
B. [Dog, Cat, Mouse]
C. A compilation error occurs.
D. DogCatMouse
正解:B
質問 4:Given the definition of the Vehicle class:
Class Vehhicle {
int distance;//line n1
Vehicle (int x) {
this distance = x;
}
public void increSpeed(int time) {//line n2
int timeTravel = time;//line n3
class Car {
int value = 0;
public void speed () {
value = distance /timeTravel;
System.out.println ("Velocity with new speed"+value+"kmph");
}
}
new Car().speed();
}
}
and this code fragment:
Vehicle v = new Vehicle (100);
v.increSpeed(60);
結果は何ですか?
A. 新しい速度の速度
B. 行n1でコンパイルエラーが発生します。
C. コンパイルエラーが行n3で発生します。
D. 行n2でコンパイルエラーが発生します。
正解:A
質問 5:コードの断片を考えると:
4. void doStuff() throws ArithmeticException, NumberFormatException,
Exception {
5. if (Math.random() >-1 throw new Exception ("Try again");
6. }
and
24. try {
25. doStuff ( ):
26. } catch (ArithmeticException | NumberFormatException | Exception e)
{
27. System.out.println (e.getMessage()); }
28. catch (Exception e) {
29. System.out.println (e.getMessage()); }
30. }
Which modification enables the code to print Try again?
A. Replace line 26 with:
} catch (ArithmeticException | NumberFormatException e) {
B. Replace line 26 with:
} catch (Exception | ArithmeticException | NumberFormatException e) {
C. Replace line 27 with:
throw e;
D. Comment the lines 28, 29 and 30.
正解:A
質問 6:これらのファイルが存在し、アクセス可能であることを考えると:
/sports/info.txt
/sports/cricket/players.txt
/sports/cricket/data/ODI.txt
and given the code fragment:
int maxDepth =2;
Stream<Path> paths = Files.find(Paths.get("/sports"),
maxDepth,
(p, a) -> p.getFileName().toString().endsWith ("txt"),
FileVisitOption.FOLLOW_LINKS);
Long fCount = paths.count();
System.out.println(fCount);
ディレクトリ構造内のファイルのいずれにもソフトリンク/シンボリックリンクがないと仮定すると、結果はどうなりますか?
A. 実行時に例外がスローされます。
B. 2
C. 3
D. 1
正解:A
質問 7:Given:
public interface Moveable<Integer> {
public default void walk (Integer distance)
{System.out.println("Walking");)
public void run(Integer distance);
}
Which statement is true?
A. Movable cannot be used in a lambda expression.
B. Moveable can be used as below:
Moveable<Integer> animal = n - > n + 10;
animal.run(100);
animal.walk(20);
C. Moveable can be used as below:
Moveable<Integer> animal = n - > System.out.println("Running" + n); animal.run(100); animal.walk(20);
D. Moveable can be used as below:
Moveable animal = (Integer n) - > System.out.println(n); animal.run(100); Moveable.walk(20);
正解:C
質問 8:Given that data.txt and alldata.txt are accessible, and the code fragment:

What is required at line n1 to enable the code to overwrite alldata.txt with data.txt?
A. br.close();
B. br.flush();
C. bw.writeln();
D. bw.flush();
正解:D
一年間の無料更新サービスを提供します
君が弊社のOracle 1z0-809日本語をご購入になってから、我々の承諾する一年間の更新サービスが無料で得られています。弊社の専門家たちは毎日更新状態を検査していますから、この一年間、更新されたら、弊社は更新されたOracle 1z0-809日本語をお客様のメールアドレスにお送りいたします。だから、お客様はいつもタイムリーに更新の通知を受けることができます。我々は購入した一年間でお客様がずっと最新版のOracle 1z0-809日本語を持っていることを保証します。
弊社は失敗したら全額で返金することを承諾します
我々は弊社の1z0-809日本語問題集に自信を持っていますから、試験に失敗したら返金する承諾をします。我々のOracle 1z0-809日本語を利用して君は試験に合格できると信じています。もし試験に失敗したら、我々は君の支払ったお金を君に全額で返して、君の試験の失敗する経済損失を減少します。
Oracle 1z0-809日本語 認定試験の出題範囲:
トピック | 出題範囲 |
---|
トピック 1 | - Work With Dates And Times Across Timezones And Manage Changes Resulting From Daylight Savings Including Format Date And Times Values
|
トピック 2 | - Develop Code That Uses The Unaryoperator Interface
- Create Custom Exceptions And Auto-Closeable Resources
- Lambda Built-In Functional Interfaces
|
トピック 3 | - Create And Use Singleton Classes And Immutable Classes
- Use Java.Util.Comparator And Java.Lang.Comparable Interfaces
|
トピック 4 | - Develop Code To Extract Data From An Object Using Peek() And Map() Methods Including Primitive Versions Of The Map() Method
|
トピック 5 | - Use Enumerated Types Including Methods, And Constructors In An Enum Type
- Implement Polymorphism
- Create And Use A Generic Class
|
トピック 6 | - Create And Manage Date-Based And Time-Based Events Including A Combination Of Date And Time Into A Single Object Using Localdate, Localtime, Localdatetime
|
トピック 7 | - Use The Built-In Interfaces Included In The Java.Util.Function Package Such As Predicate, Consumer, Function, And Supplier
|
トピック 8 | - Develop Code That Uses Primitive Versions Of Functional Interfaces
- Develop Code That Uses Abstract Classes And Methods
|
トピック 9 | - Describe Stream Interface And Stream Pipeline
- Create Inner Classes Including Static Inner Class, Local Class, Nested Class, And Anonymous Inner Class
|
トピック 10 | - Develop Code That Uses Binary Versions Of Functional Interfaces
- Use Autoclose Resources With A Try-With-Resources Statement
|
トピック 11 | - Search For Data By Using Search Methods Of The Stream Classes Including Findfirst, Findany, Anymatch, Allmatch, Nonematch
|
トピック 12 | - Develop Code That Uses Static Keyword On Initialize Blocks, Variables, Methods, And Classes
|
トピック 13 | - Use Catch, Multi-Catch, And Finally Clauses
- Use Flatmap() Methods In The Stream API
- Develop Code That Uses The Final Keyword
|
トピック 14 | - Develop Code That Declares, Implements And
- Or Extends Interfaces And Use The @Override Annotation
- Develop Code That Uses The Optional Class
|
トピック 15 | - Define And Create And Manage Date-Based And Time-Based Events Using Instant, Period, Duration, And Temporalunit
- Filter A Collection By Using Lambda Expressions
|
トピック 16 | - Create And Use Arraylist, Treeset, Treemap, And Arraydeque Objects
- Override Hashcode, Equals, And Tostring Methods From Object Class
|
トピック 17 | - Develop Code That Uses Stream Data Methods And Calculation Methods
- Iterate Using Foreach Methods Of Streams And List
|
参照:https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=5001&get_params=p_exam_id:1Z0-809
TopExamは君に1z0-809日本語の問題集を提供して、あなたの試験への復習にヘルプを提供して、君に難しい専門知識を楽に勉強させます。TopExamは君の試験への合格を期待しています。
弊社は無料Oracle 1z0-809日本語サンプルを提供します
お客様は問題集を購入する時、問題集の質量を心配するかもしれませんが、我々はこのことを解決するために、お客様に無料1z0-809日本語サンプルを提供いたします。そうすると、お客様は購入する前にサンプルをダウンロードしてやってみることができます。君はこの1z0-809日本語問題集は自分に適するかどうか判断して購入を決めることができます。
1z0-809日本語試験ツール:あなたの訓練に便利をもたらすために、あなたは自分のペースによって複数のパソコンで設置できます。
弊社のOracle 1z0-809日本語を利用すれば試験に合格できます
弊社のOracle 1z0-809日本語は専門家たちが長年の経験を通して最新のシラバスに従って研究し出した勉強資料です。弊社は1z0-809日本語問題集の質問と答えが間違いないのを保証いたします。

この問題集は過去のデータから分析して作成されて、カバー率が高くて、受験者としてのあなたを助けて時間とお金を節約して試験に合格する通過率を高めます。我々の問題集は的中率が高くて、100%の合格率を保証します。我々の高質量のOracle 1z0-809日本語を利用すれば、君は一回で試験に合格できます。
安全的な支払方式を利用しています
Credit Cardは今まで全世界の一番安全の支払方式です。少数の手続きの費用かかる必要がありますとはいえ、保障があります。お客様の利益を保障するために、弊社の1z0-809日本語問題集は全部Credit Cardで支払われることができます。
領収書について:社名入りの領収書が必要な場合、メールで社名に記入していただき送信してください。弊社はPDF版の領収書を提供いたします。