許裕永 譯 (原文內容取自 Oracle 官網)
Exam Details
Duration: 150
minutes
Number of Questions: 85
Passing Score: 65%
Format: Multiple
Choice
Exam Price: TWD
4934
測驗細節
測驗時間: 150 分鐘
測驗題數: 85
通過分數: 65%
題目格式: 複選題
測驗金額: 新台幣 4934
TOPICS
1.
Java Class Design
Java 類別設計
Java 類別設計
A.
Implement encapsulation
實作封裝。
實作封裝。
B.
Implement inheritance including
visibility modifiers and composition
實作包含存取修飾詞的繼承及合成。
實作包含存取修飾詞的繼承及合成。
C.
Implement polymorphism
實作多型。
實作多型。
D.
Override hashCode, equals, and
toString methods from Object class
Override Object 類別中的 hashCode, equals 及 toString 方法。
Override Object 類別中的 hashCode, equals 及 toString 方法。
E.
Create and use singleton
classes and immutable classes
建立及使用 singleton 類別和 immutable 類別
建立及使用 singleton 類別和 immutable 類別
F.
Develop code that uses static
keyword on initialize blocks, variables, methods, and classes
開發程式碼使用 static 關鍵字在 初始化區塊、變數、方法及類別。
開發程式碼使用 static 關鍵字在 初始化區塊、變數、方法及類別。
2.
Advanced Java Class Design
進階 Java 類別設計
進階 Java 類別設計
A.
Develop code that uses abstract
classes and methods
開發程式碼使用抽象類別及抽象方法。
開發程式碼使用抽象類別及抽象方法。
B.
Develop code that uses the
final keyword
開發程式碼使用 final 關鍵字。
開發程式碼使用 final 關鍵字。
C.
Create inner classes including
static inner class, local class, nested class, and anonymous inner class
建立內部類,包含 static inner class, local class, nested class 及 anonymous inner class。
建立內部類,包含 static inner class, local class, nested class 及 anonymous inner class。
D.
Use enumerated types including
methods, and constructors in an enum type
使用在 enum 中包含方法及建構方法的列舉型別。
使用在 enum 中包含方法及建構方法的列舉型別。
E.
Develop code that declares, implements
and/or extends interfaces and use the @Override annotation.
開發程式碼宣告、實作和/或繼承界面,以及使用 @Override 標註。
開發程式碼宣告、實作和/或繼承界面,以及使用 @Override 標註。
F.
Create and use Lambda
expressions
建立及使用 Lambda 運算式。
建立及使用 Lambda 運算式。
3.
Generics and Collections
型別通用與集合
型別通用與集合
A.
Create and use a generic class
建立及使用型別通用類別。
建立及使用型別通用類別。
B.
Create and use ArrayList,
TreeSet, TreeMap, and ArrayDeque objects
建立及使用 ArrayList, TreeSet, TreeMap 及 ArrayDeque物件。
建立及使用 ArrayList, TreeSet, TreeMap 及 ArrayDeque物件。
C.
Use java.util.Comparator and
java.lang.Comparable interfaces
使用 java.util.Comparator及 java.lang.Comparable 界面。
使用 java.util.Comparator及 java.lang.Comparable 界面。
D.
Collections Streams and Filters
Collections Streams 及 Filters
Collections Streams 及 Filters
E.
Iterate using forEach methods
of Streams and List
使用 Streams 及 List 的 forEach方法重複。
使用 Streams 及 List 的 forEach方法重複。
F.
Describe Stream interface and
Stream pipeline
描述 Stream 界面以及 Stream pipeline。
描述 Stream 界面以及 Stream pipeline。
G.
Filter a collection by using
lambda expressions
過濾集合透過 Lambda 運算式的使用。
過濾集合透過 Lambda 運算式的使用。
H.
Use method references with
Streams
在 Streams 中使用 method references。
在 Streams 中使用 method references。
4.
Lambda Built-in Functional
Interfaces
Lambda 嵌入式功能性 Interfaces
Lambda 嵌入式功能性 Interfaces
A.
Use the built-in interfaces
included in the java.util.function package such as Predicate, Consumer,
Function, and Supplier
使用包含在 java.util.function package中的嵌入式界面,例如: Predicate, Consumer, Function 及 Supplier 。
使用包含在 java.util.function package中的嵌入式界面,例如: Predicate, Consumer, Function 及 Supplier 。
B.
Develop code that uses
primitive versions of functional interfaces
開發程式碼使用基本資料型別版本的功能性 interface。
開發程式碼使用基本資料型別版本的功能性 interface。
C.
Develop code that uses binary
versions of functional interfaces
開發程式碼使用二元運算版本的功能性 interface 。
開發程式碼使用二元運算版本的功能性 interface 。
D.
Develop code that uses the
UnaryOperator interface
開發程式碼使用 UnaryOperator界面。
開發程式碼使用 UnaryOperator界面。
5.
Java Stream API
A.
Develop code to extract data
from an object using peek() and map() methods including primitive versions of
the map() method
開發程式碼使用 peek() 和 map() 方法包含基本資料型別版本的 map() 方法從物件中擷取資料。
開發程式碼使用 peek() 和 map() 方法包含基本資料型別版本的 map() 方法從物件中擷取資料。
B.
Search for data by using search
methods of the Stream classes including findFirst, findAny, anyMatch, allMatch,
noneMatch
使用 Stream 類別中的 findFirst, findAny, anyMatch, allMatch 及 noneMatch 搜尋方法來搜尋資料。
使用 Stream 類別中的 findFirst, findAny, anyMatch, allMatch 及 noneMatch 搜尋方法來搜尋資料。
C.
Develop code that uses the
Optional class
開發程式碼使用 Optional class 。
開發程式碼使用 Optional class 。
D.
Develop code that uses Stream
data methods and calculation methods
開發程式碼使用 Stream 中的資料及運算方法。
開發程式碼使用 Stream 中的資料及運算方法。
E.
Sort a collection using Stream
API
使用 Stream 的 API 排序集合。
使用 Stream 的 API 排序集合。
F.
Save results to a collection
using the collect method and group/partition data using the Collectors class
使用 collect 方法將結果儲在集合中以及使用 Collectors 類別群組 / 分隔資料。
使用 collect 方法將結果儲在集合中以及使用 Collectors 類別群組 / 分隔資料。
G.
Use flatMap() methods in the
Stream API
使用 Stream API 中的 flatMap() 方法。
使用 Stream API 中的 flatMap() 方法。
6.
Exceptions and Assertions
Exceptions 及 Assertions
Exceptions 及 Assertions
A.
Use try-catch and throw
statements
使用 try-catch 及 throw 敍述。
使用 try-catch 及 throw 敍述。
B.
Use catch, multi-catch, and
finally clauses
使用 catch , multi-catch 及 finally 分支。
使用 catch , multi-catch 及 finally 分支。
C.
Use Autoclose resources with a
try-with-resources statement
在 try-with-resources 敍述中使用 Autoclose 資源。
在 try-with-resources 敍述中使用 Autoclose 資源。
D.
Create custom exceptions and
Auto-closeable resources
建立自訂的 exceptions 及 Auto-closeable 的資。
建立自訂的 exceptions 及 Auto-closeable 的資。
E.
Test invariants by using
assertions
使用 assertion 測試不變性。
使用 assertion 測試不變性。
7.
Use Java SE 8 Date/Time API
A.
Create and manage date-based
and time-based events including a combination of date and time into a single
object using LocalDate, LocalTime, LocalDateTime, Instant, Period, and Duration
使用 LocalDate、LocalTime、LocalDateTime、Instant、Period 及 Duration建立和管理日期基礎與時間基礎事件,包含把日期和時間合併到單一物件。
B.
Work with dates and times
across time zones and manage changes resulting from daylight savings including
Format date and times values
使用及管理跨時區與夏令時間的日期及時間,包含格式化日期和時間的值。
C.
Define and create and manage
date-based and time-based events using Instant, Period, Duration, and
TemporalUnit
使用 Instant、Period、Duration 和 TemporalUnit 來定義、建立和管理日期基礎及時間基礎事件。
8.
Java I/O Fundamentals
A.
Read and write data from the
console
從 console 讀寫資料。
從 console 讀寫資料。
B.
Use BufferedReader,
BufferedWriter, File, FileReader, FileWriter, FileInputStream,
FileOutputStream, ObjectOutputStream, ObjectInputStream, and PrintWriter in the
java.io package
使用在 java.io package 中的 BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream 及 PrintWriter。
使用在 java.io package 中的 BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream 及 PrintWriter。
9.
Java File I/O (NIO.2)
A.
Use Path interface to operate
on file and directory paths
使用 Path 界面來運算檔案及資料夾的路徑。
使用 Path 界面來運算檔案及資料夾的路徑。
B.
Use Files class to check, read,
delete, copy, move, manage metadata of a file or directory
使用 Files 類別對檔案及資料夾做檢查、讀取、刪除、複製、移動、管理屬性資料。
使用 Files 類別對檔案及資料夾做檢查、讀取、刪除、複製、移動、管理屬性資料。
C.
Use Stream API with NIO.2
使用 NIO.2 中的 Stream API。
使用 NIO.2 中的 Stream API。
10. Java Concurrency
A.
Create worker threads using
Runnable, Callable and use an ExecutorService to concurrently execute tasks
使用 Runnable, Callable 建立工作者執行線程並使用 ExecutorService 來同時執行多個工作。
使用 Runnable, Callable 建立工作者執行線程並使用 ExecutorService 來同時執行多個工作。
B.
Identify potential threading
problems among deadlock, starvation, livelock, and race conditions
識別可能的 deadlock, starvation, livelock 及 race condition等線程問題。
識別可能的 deadlock, starvation, livelock 及 race condition等線程問題。
C.
Use synchronized keyword and
java.util.concurrent.atomic package to control the order of thread execution
使用 synchronized 關鍵字及 java.util.concurrent.atomic package 來控制線程執行的執行順序。
使用 synchronized 關鍵字及 java.util.concurrent.atomic package 來控制線程執行的執行順序。
D.
Use java.util.concurrent collections
and classes including CyclicBarrier and CopyOnWriteArrayList
使用 java.util.concurrent 的集合及類別,包含 CyclicBarrier 及 CopyOnWriteArrayList。
使用 java.util.concurrent 的集合及類別,包含 CyclicBarrier 及 CopyOnWriteArrayList。
E.
Use parallel Fork/Join
Framework
使用平行的 Fork/Join 框架
F.
Use parallel Streams including
reduction, decomposition, merging processes, pipelines and performance.
使用平行 Streams 包含歸納、分解、合併、傳遞途徑及呈現。
11. Building Database Applications with JDBC
A.
Describe the interfaces that
make up the core of the JDBC API including the Driver, Connection, Statement,
and ResultSet interfaces and their relationship to provider implementations
描述 JDBC API 中界面的程式碼開發,包含 Driver、Connection、Statement 和 ResultSet 各界面以及它們的關係來提供實作。
B.
Identify the components
required to connect to a database using the DriverManager class including the
JDBC URL
辨識使用 DriverManager 類別搭配 JDBC URL 來請求連線資料庫時的元件。
C.
Submit queries and read results
from the database including creating statements, returning result sets,
iterating through the results, and properly closing result sets, statements,
and connections
向資料庫提交查詢並讀取結果。包含建立敍述、回傳資料錄、巡迴資料錄以及適當的關閉資料錄、敍述和連線。
12. Localization
A.
Read and set the locale by
using the Locale object
使用 Locale 物件讀取和設定區域。
B.
Create and read a Properties
file
建立和讀取 Properties 檔案
C.
Build a resource bundle for
each locale and load a resource bundle in an application
針對各個區域建立 resource bundle 並在程式中載入 resource bundle。
沒有留言:
張貼留言