|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/draft/5244468/
课程评论:没有评论
本课程是“Java Certification: OCP (1Z0-819) Exam Simulation - P3”在线培训课程的第三部分,旨在帮助学员通过 OCP - Java SE 11 认证。该课程提供 22 次模拟考试,共包含超过 1000 道题目,分为四个部分。 **核心内容与教学重点:** * **Java 类设计:** 涵盖封装、继承(包括可见性修饰符和组合)、多态、重写 `Object` 类中的 `hashCode`、`equals` 和 `toString` 方法、创建和使用单例及不可变类、以及 `static` 关键字的应用(初始化块、变量、方法和类)。 * **高级 Java 类设计:** 深入讲解抽象类和方法、`final` 关键字、各种内部类(静态内部类、局部类、嵌套类、匿名内部类)、枚举类型的应用(包含方法和构造器)、接口的声明、实现与继承、`@Override` 注解的使用,以及 Lambda 表达式的应用。 * **泛型与集合:** 教授如何创建和使用泛型类,以及 `ArrayList`、`TreeSet`、`TreeMap`、`ArrayDeque` 等集合对象的具体应用。重点讲解 `java.util.Comparator` 和 `java.lang.Comparable` 接口的使用。 * **集合 Streams 与 Filters:** 学习如何使用 Streams 的 `forEach` 方法进行迭代,理解 Stream 接口和 Stream 流水线,利用 Lambda 表达式过滤集合,并在 Streams 中使用方法引用。 * **Lambda 内建函数式接口:** 介绍 `java.util.function` 包中的常用函数式接口,如 `Predicate`、`Consumer`、`Function` 和 `Supplier`,以及它们的原生(primitive)和二元(binary)版本,同时涵盖 `UnaryOperator` 接口。 * **Java Stream API:** 重点讲解使用 `peek()` 和 `map()` 方法(包括其原生版本)从对象中提取数据,通过 `findFirst`、`findAny`、`anyMatch`、`allMatch`、`noneMatch` 等搜索方法查找数据,并学习使用 `Optional` 类。此外,还包括 Stream 数据处理与计算方法、使用 Stream API 进行集合排序、以及使用 `collect` 方法(包括 `Collectors` 中的分组与分区)将结果保存到集合。`flatMap()` 方法的应用也是学习的重点。 * **异常与断言:** 涵盖 `try-catch` 和 `throw` 语句,`catch`、多重 `catch` 和 `finally` 子句,使用 `try-with-resources` 语句自动关闭资源,创建自定义异常和 `Auto-closeable` 资源,并通过断言(assertions)测试不变量。 * **Java SE 8 Date/Time API:** 学习创建和管理日期/时间事件,包括使用 `LocalDate`、`LocalTime`、`LocalDateTime`、`Instant`、`Period` 和 `Duration` 将日期与时间组合成单一对象。还包括跨时区处理日期和时间、处理夏令时调整,以及格式化日期/时间值。 * **Java I/O 基础:** 学习从控制台读写数据,并重点介绍 `BufferedReader`、`BufferedWriter`、`File`、`FileReader`、`FileWriter`、`FileInputStream`、`FileOutputStream`、`ObjectOutputStream`、`ObjectInputStream`、`PrintWriter` 等 IO 包中的类。 * **Java File I/O (NIO.2):** 教授使用 `Path` 接口操作文件和目录路径,利用 `Files` 类检查、读取、删除、复制、移动文件或目录,以及管理其元数据。还将学习将 Stream API 与 NIO.2 结合使用。 * **Java 并发:** 介绍如何使用 `Runnable`、`Callable` 创建工作线程,并利用 `ExecutorService` 并发执行任务。识别潜在的线程问题,例如死锁、饥饿、活锁和竞态条件。学习使用 `synchronized` 关键字和 `java.util.concurrent.atomic` 包来控制线程执行顺序。掌握 `java.util.concurrent` 中的集合和类,如 `CyclicBarrier` 和 `CopyOnWriteArrayList`。学习使用并行 Fork/Join 框架和并行 Streams(包括归约、分解、合并过程、流水线和性能优化)。 * **构建数据库应用程序(JDBC):** 描述 JDBC API 的核心接口,如 `Driver`、`Connection`、`Statement` 和 `ResultSet`,及其与提供商实现的关联。讲解使用 `DriverManager` 类连接数据库所需的组件(包括 JDBC URL),以及如何提交查询、从数据库读取结果(包括创建语句、返回结果集、迭代结果集以及正确关闭结果集、语句和连接)。 * **本地化(Localization):** 学习使用 `Locale` 对象读取和设置区域设置,创建和读取 Properties 文件,为不同区域设置构建资源束,并在应用程序中加载资源束。 **课程特色:** * **模拟真实考试:** 模拟练习题随机生成,提供真实的考试体验。 * **全面覆盖:** 所有 OCP 考试主题和子主题均被充分涵盖。 * **详细解析:** 对所有正确答案提供详尽解释,帮助学员理解和掌握。 * **答题技巧:** 提供相关的提示和在实际考试中如何应对问题的指导。 * **信心提升:** 完成所有测试将显著增强学员参加 Oracle Certified Professional - Java SE 11 考试的信心。 **注意:** 如果您希望按主题进行练习,可以报名参加另一个课程:“Java Certification - OCP (1Z0-819) Topic-wise Tests [2023]”。
Are you ready to pass OCP- Java SE 11 certification and prove your competency to recruiters and employers alike?We have 22 practices with > 1000 questions divide to 4 coursesJava Certification: OCP (1Z0-819) Exam Simulation [2023] - Part 3Exam Curriculum:Java Class DesignImplement encapsulationImplement inheritance including visibility modifiers and compositionImplement polymorphismOverride hashCode, equals, and toString methods from Object classCreate and use singleton classes and immutable classesDevelop code that uses static keyword on initialize blocks, variables, methods, and classesAdvanced Java Class DesignDevelop code that uses abstract classes and methodsDevelop code that uses the final keywordCreate inner classes including static inner class, local class, nested class, and anonymous inner classUse enumerated types including methods, and constructors in an enum typeDevelop code that declares, implements and/or extends interfaces and use the @Override annotation.Create and use Lambda expressionsGenerics and CollectionsCreate and use a generic classCreate and use ArrayList, TreeSet, TreeMap, and ArrayDeque objectsUse java.util.Comparator and java.lang.Comparable interfacesCollections Streams and FiltersIterate using forEach methods of Streams and ListDescribe Stream interface and Stream pipelineFilter a collection by using lambda expressionsUse method references with StreamsLambda Built-in Functional InterfacesUse the built-in interfaces included in the java.util.function package such as Predicate, Consumer, Function, and SupplierDevelop code that uses primitive versions of functional interfacesDevelop code that uses binary versions of functional interfacesDevelop code that uses the UnaryOperator interfaceJava Stream APIDevelop code to extract data from an object using peek() and map() methods including primitive versions of the map() methodSearch for data by using search methods of the Stream classes including findFirst, findAny, anyMatch, allMatch, noneMatchDevelop code that uses the Optional classDevelop code that uses Stream data methods and calculation methodsSort a collection using Stream APISave results to a collection using the collect method and group/partition data using the Collectors classUse flatMap() methods in the Stream APIExceptions and AssertionsUse try-catch and throw statementsUse catch, multi-catch, and finally clausesUse Autoclose resources with a try-with-resources statementCreate custom exceptions and Auto-closeable resourcesTest invariants by using assertionsUse Java SE 8 Date/Time APICreate 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 DurationWork with dates and times across timezones and manage changes resulting from daylight savings including Format date and times valuesDefine and create and manage date-based and time-based events using Instant, Period, Duration, and TemporalUnitJava I/O FundamentalsRead and write data from the consoleUse BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream, and PrintWriter in the IO package.Java File I/O (NIO.2)Use Path interface to operate on file and directory pathsUse Files class to check, read, delete, copy, move, manage metadata of a file or directoryUse Stream API with NIO.2Java ConcurrencyCreate worker threads using Runnable, Callable and use an ExecutorService to concurrently execute tasksIdentify potential threading problems among deadlock, starvation, livelock, and race conditionsUse synchronized keyword and java.util.concurrent.atomic package to control the order of thread executionUse java.util.concurrent collections and classes including CyclicBarrier and CopyOnWriteArrayListUse parallel Fork/Join FrameworkUse parallel Streams including reduction, decomposition, merging processes, pipelines and performance.Building Database Applications with JDBCDescribe the interfaces that make up the core of the JDBC API including the Driver, Connection, Statement, and ResultSet interfaces and their relationship to provider implementationsIdentify the components required to connect to a database using the DriverManager class including the JDBC URLSubmit queries and read results from the database including creating statements, returning result sets, iterating through the results, and properly closing result sets, statements, and connectionsLocalizationRead and set the locale by using the Locale objectCreate and read a Properties fileBuild a resource bundle for each locale and load a resource bundle in an applicationPractice tests are randomized to give a real examination feel. All topics listed above are divided appropriately in 6 tests. Questions are designed based on real examination questions in terms of pattern and complexity. All Exam topics and sub-topics are covered.Explanation of all the correct answers is also provided for reference and understanding. Relevant hints and how to approach a question in real examination setting is also provided in explanation.Successful completion of all the tests will boost your confidence to attempt Oracle Certified Professional -Java SE 11 examination.More information on detailed curriculum and assumptions to be followed for examination are available on oracle certification page.NOTE: Each practice test of this course contains questions on all the exam topics, similar to what is expected in real exam. But if you prefer to solve topic-wise questions, then enroll in my other course titled "Java Certification - OCP (1Z0-819) Topic-wise Tests [2023]", which contains the same questions arranged in topic-wise manner.