|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/oca-certification-java-exam-practice-tests-oracle-preparation-part-one/
课程评论:没有评论
**课程名称:Oracle Java 认证考试 OCA 1Z0-808 准备(第一部分)** **课程概述:** 本课程旨在帮助学员为 Oracle 认证助理 Java OCA 1Z0-808 考试做好充分准备。课程包含六套练习测试,涵盖了所有知识领域。每道题目都附有详细解释和可运行的“Try-It-Yourself-Code”,方便学员深入理解概念。学员还可以下载所有题目的代码。 **课程大纲( Syllabus):** * **Java 基础:** * 定义变量的作用域。 * 创建 Java 类结构。 * 创建可执行的 Java 应用程序(包括 main 方法),并在命令行运行,输出控制台内容。 * 导入 Java 包以使其可用。 * 比较和对比 Java 的特性与组件,如平台独立性、面向对象、封装等。 * **Java 数据类型:** * 声明和初始化变量(包括基本数据类型的类型转换)。 * 区分对象引用变量和基本变量。 * 读取或写入对象字段。 * 解释对象的生命周期(创建、"通过重新赋值解除引用"和垃圾回收)。 * 开发使用包装类(如 Boolean, Double, Integer)的代码。 * **运算符与流程控制:** * 使用 Java 运算符,以及括号来覆盖运算符的优先级。 * 使用 `==` 和 `equals()` 测试字符串和其他对象的相等性。 * 创建 `if`、`if/else` 和三元运算符结构。 * 使用 `switch` 语句。 * **数组的创建与使用:** * 声明、实例化、初始化和使用一维数组。 * 声明、实例化、初始化和使用多维数组。 * **循环结构:** * 创建和使用 `while` 循环。 * 创建和使用 `for` 循环(包括增强型 for 循环)。 * 创建和使用 `do/while` 循环。 * 比较各种循环结构。 * 使用 `break` 和 `continue` 语句。 * **方法与封装:** * 创建带参数和返回类型的方法,包括重载方法。 * 将 `static` 关键字应用于方法和字段。 * 创建和重载构造器,区分默认构造器和用户定义构造器。 * 应用访问修饰符。 * 将封装原则应用于类。 * 确定将对象引用和基本值传递给改变这些值的方法时对它们的影响。 * **继承:** * 描述继承及其优势。 * 开发使用多态的代码,重写方法。 * 区分引用的类型和对象的类型。 * 确定何时需要类型转换。 * 使用 `super` 和 `this` 访问对象和构造器。 * 使用抽象类和接口。 * **异常处理:** * 区分已检查异常、未检查异常和错误(Errors)。 * 创建 `try-catch` 块,并确定异常如何改变程序的正常流程。 * 描述异常处理的优势。 * 创建和调用抛出异常的方法。 * 识别常见的异常类(如 NullPointerException, ArithmeticException, ArrayIndexOutOfBoundsException, ClassCastException)。 * **Java API 选定类的使用:** * 使用 `StringBuilder` 类及其方法来操作数据。 * 创建和操作字符串。 * 使用 `java.time` 包下的 `LocalDateTime`, `LocalDate`, `LocalTime`, `DateTimeFormatter`, `Period` 等类创建和操作日历数据。 * 声明和使用指定类型的 `ArrayList`。 * 编写简单的 Lambda 表达式,该表达式消耗一个 Lambda Predicate 表达式。
Now is the time to get certified for Java!Oracle Certification Associate Java OCA 1Z0-808.There are six Practice Tests with preparation questions from all knowledge areas.Every question has an explanation and a Try-It-Yourself-Codewhich you can run to better understand the topic.You can download the Try-It-Yourself-Code for all questions.Exam SyllabusJava BasicsDefine the scope of variablesDefine the structure of a Java classCreate executable Java applications with a main method; run a Java program from the command line; produce console outputImport other Java packages to make them accessible in your codeCompare and contrast the features and components of Java such as: platform independence, object orientation, encapsulation, etc.Working With Java Data TypesDeclare and initialize variables (including casting of primitive data types)Differentiate between object reference variables and primitive variablesKnow how to read or write to object fieldsExplain an Object's Lifecycle (creation, "dereference by reassignment" and garbage collection)Develop code that uses wrapper classes such as Boolean, Double, and IntegerUsing Operators and Decision ConstructsUse Java operators; use parentheses to override operator precedenceTest equality between Strings and other objects using == and equals ()Create if and if/else and ternary constructsUse a switch statementCreating and Using ArraysDeclare, instantiate, initialize and use a one-dimensional arrayDeclare, instantiate, initialize and use multi-dimensional arraysUsing Loop ConstructsCreate and use while loopsCreate and use for loops including the enhanced for loopCreate and use do/while loopsCompare loop constructsUse break and continueWorking with Methods and EncapsulationCreate methods with arguments and return values; including overloaded methodsApply the static keyword to methods and fieldsCreate and overload constructors; differentiate between default and user defined constructorsApply access modifiersApply encapsulation principles to a classDetermine the effect upon object references and primitive values when they are passed into methods that change the valuesWorking with InheritanceDescribe inheritance and its benefitsDevelop code that makes use of polymorphism; develop code that overrides methods; differentiate between the type of a reference and the type of an objectDetermine when casting is necessaryUse super and this to access objects and constructorsUse abstract classes and interfacesHandling ExceptionsDifferentiate among checked exceptions, unchecked exceptions, and ErrorsCreate a try-catch block and determine how exceptions alter normal program flowDescribe the advantages of Exception handlingCreate and invoke a method that throws an exceptionRecognize common exception classes (such as NullPointerException, ArithmeticException, ArrayIndexOutOfBoundsException, ClassCastException)Working with Selected classes from the Java APIManipulate data using the StringBuilder class and its methodsCreate and manipulate StringsCreate and manipulate calendar data using classes from java.time.LocalDateTime, java.time.LocalDate, java.time.LocalTime, java.time.format.DateTimeFormatter, java.time.PeriodDeclare and use an ArrayList of a given typeWrite a simple Lambda expression that consumes a Lambda Predicate expression