OCP Oracle Certified Professional Java SE 17 Developer (1Z0-829)

(1Z0-829.AE1)/ISBN:978-1-64459-405-6

This course includes
Lessons
TestPrep
LiveLab
Mentoring (Add-on)

Lessons

16+ Lessons | 337+ Exercises | 270+ Quizzes | 791+ Flashcards | 280+ Glossary of terms

TestPrep

50+ Pre Assessment Questions | 2+ Full Length Tests | 49+ Post Assessment Questions | 97+ Practice Test Questions

Hand on lab

89+ LiveLab | 28+ Video tutorials | 37+ Minutes

Here's what you will learn

Download Course Outline

Lessons 1: Introduction

  • Understanding the Exam
  • Reading This Course
  • Studying for the Exam
  • Applying Test-Taking Strategies
  • Taking the Exam
  • Objective Map

Lessons 2: Building Blocks

  • Learning about the Environment
  • Understanding the Class Structure
  • Writing a main() Method
  • Understanding Package Declarations and Imports
  • Creating Objects
  • Understanding Data Types
  • Declaring Variables
  • Initializing Variables
  • Managing Variable Scope
  • Destroying Objects
  • Summary
  • Exam Essentials

Lessons 3: Operators

  • Understanding Java Operators
  • Applying Unary Operators
  • Working with Binary Arithmetic Operators
  • Assigning Values
  • Comparing Values
  • Making Decisions with the Ternary Operator
  • Summary
  • Exam Essentials

Lessons 4: Making Decisions

  • Creating Decision-Making Statements
  • Applying switch Statements
  • Writing while Loops
  • Constructing for Loops
  • Controlling Flow with Branching
  • Summary
  • Exam Essentials

Lessons 5: Core APIs

  • Creating and Manipulating Strings
  • Using the StringBuilder Class
  • Understanding Equality
  • Understanding Arrays
  • Calculating with Math APIs
  • Working with Dates and Times
  • Summary
  • Exam Essentials

Lessons 6: Methods

  • Designing Methods
  • Declaring Local and Instance Variables
  • Working with Varargs
  • Applying Access Modifiers
  • Accessing static Data
  • Passing Data among Methods
  • Overloading Methods
  • Summary
  • Exam Essentials

Lessons 7: Class Design

  • Understanding Inheritance
  • Creating Classes
  • Declaring Constructors
  • Initializing Objects
  • Inheriting Members
  • Creating Abstract Classes
  • Creating Immutable Objects
  • Summary
  • Exam Essentials

Lessons 8: Beyond Classes

  • Implementing Interfaces
  • Working with Enums
  • Sealing Classes
  • Encapsulating Data with Records
  • Creating Nested Classes
  • Understanding Polymorphism
  • Summary
  • Exam Essentials

Lessons 9: Lambdas and Functional Interfaces

  • Writing Simple Lambdas
  • Coding Functional Interfaces
  • Using Method References
  • Working with Built-in Functional Interfaces
  • Working with Variables in Lambdas
  • Summary
  • Exam Essentials

Lessons 10: Collections and Generics

  • Using Common Collection APIs
  • Using the List Interface
  • Using the Set Interface
  • Using the Queue and Deque Interfaces
  • Using the Map Interface
  • Comparing Collection Types
  • Sorting Data
  • Working with Generics
  • Summary
  • Exam Essentials

Lessons 11: Streams

  • Returning an Optional
  • Using Streams
  • Working with Primitive Streams
  • Working with Advanced Stream Pipeline Concepts
  • Summary
  • Exam Essentials

Lessons 12: Exceptions and Localization

  • Understanding Exceptions
  • Recognizing Exception Classes
  • Handling Exceptions
  • Automating Resource Management
  • Formatting Values
  • Supporting Internationalization and Localization
  • Loading Properties with Resource Bundles
  • Summary
  • Exam Essentials

Lessons 13: Modules

  • Introducing Modules
  • Creating and Running a Modular Program
  • Updating Our Example for Multiple Modules
  • Diving into the Module Declaration
  • Creating a Service
  • Discovering Modules
  • Comparing Types of Modules
  • Migrating an Application
  • Summary
  • Exam Essentials

Lessons 14: Concurrency

  • Introducing Threads
  • Creating Threads with the Concurrency API
  • Writing Thread-Safe Code
  • Using Concurrent Collections
  • Identifying Threading Problems
  • Working with Parallel Streams
  • Summary
  • Exam Essentials

Lessons 15: I/O

  • Referencing Files and Directories
  • Operating on File and Path
  • Introducing I/O Streams
  • Reading and Writing Files
  • Serializing Data
  • Interacting with Users
  • Working with Advanced APIs
  • Review of Key APIs
  • Summary
  • Exam Essentials

Lessons 16: JDBC

  • Introducing Relational Databases and SQL
  • Introducing the Interfaces of JDBC
  • Connecting to a Database
  • Working with a PreparedStatement
  • Little Bobby Tables
  • Getting Data from a ResultSet
  • Calling a CallableStatement
  • Controlling Data with Transactions
  • Closing Database Resources
  • Summary
  • Exam Essentials

Hands-on LAB Activities

Building Blocks

  • Passing Parameters to a Java Program
  • Which of the following are legal entry point methods that can be run from the command line?
  • What is the output of executing the following class? public class Salmon {      in...
  • Indicate if each of the given statements about a reference type is true or false.

Operators

  • Indicate if each of the given statements about a binary operator is true or false.
  • Using the Logical OR Operator
  • Which of the following Java operators can be used with boolean variables?
  • What is the output of the following code snippet? int moon = 9, star = 2 + 2 * 3; float sun = sta...

Making Decisions

  • Using the if-else Statement
  • Identify the incorrect terms related to pattern matching in the paragraph by clicking on them.
  • Indicate if each of the given statements about the switch statement is true or false.
  • Using the while Loop
  • Identify the correct statement.
  • Using the for Loop
  • Which of the following defines an infinite loop execution?
  • Using the continue Statement
  • Which of the following statements can be used to exit a loop early?

Core APIs

  • Using the replace() and length() Methods
  • Fill in the blank with the appropriate term related to String.
  • Using the append() Method
  • Fill in the blanks by dragging the appropriate classes from the bottom onto their correct boxes.
  • What is guaranteed to be printed by the following code? int[] array = {6,9,8}; System.out.println...

Methods

  • Click to select the access specifiers offered by Java.
  • Fill in the blank with the appropriate term related to variables.
  • Fill in the blanks: Using ________ and ________ ...y class, without requiring an instance variable.

Class Design

  • Which of the following statements can be inserte...).setSnake(_________________);    } }
  • What is the output of the following program? class Deer {    public Deer() {System.out....
  • Which of the following types can be inserted int...________   tadpole = amphibian; } } }

Beyond Classes

  • Click to select the rules for the default interface method definition.
  • Indicate if each of the given statements about enum (enumeration) is true or false.
  • Indicate if each of the given statements about a local class is true or false.
  • Identify the incorrect terms related to polymorphism in the paragraph by clicking on them.

Lambdas and Functional Interfaces

  • Which of the following are valid lambda expressions?
  • What is the minimum number of lines that need to...;  void game();    void toy(); }
  • Which of the following lines can fill in the bla...ean> b) {     return b.apply(5); }

Collections and Generics

  • Using the Diamond Operator
  • Drag the interface to its description.
  • Which of the following can fill in the blank to print [7, 5, 3]? public record Platypus(String na...
  • What is the result of the following? import java...  System.out.println(d);     } }

Streams

  • Fill in the blank with the pair that compiles an....offer(18); x.(____________); x.(____________);
  • Using the count() Method
  • Using the min() and max() Methods
  • Generating an Infinite Stream of Integers
  • Implementing the skip() Method on a Stream
  • Using the limit() Method
  • Using the distinct() Method
  • Using the filter() Method
  • Using the collect() Method
  • Using the reduce() Method
  • Using the forEach() Method
  • Using the noneMatch() Method
  • Using the anyMatch() Method
  • Using the allMatch() Method
  • Using the findFirst() Method
  • Using the findAny() Method
  • Fill in the blank with the appropriate term related to terminal operations.
  • What is the output of the following? public class Paging {    record Sesame(String name...

Exceptions and Localization

  • Fill in the blank with the appropriate exception class.
  • Using Multiple catch Blocks
  • Which of the following statements about try/catch blocks are correct?
  • Formatting Numbers
  • What is the output of the following code snippet? LocalDate dogDay = LocalDate.of(2022,8,26); var...

Modules

  • What option names are equivalent to -p and -cp on the javac command?

Concurrency

  • Creating a Thread by Extending the Thread Class
  • Assuming this class is accessed by only a single...0;System.out.println(counter);    } }
  • Applying the ReentrantLock Interface
  • Which method defined in the Lock interface will return immediately if a lock cannot be obtained?
  • Understanding SkipList Collections
  • What is the result of executing the following code snippet? List<Integer> lions = new Array...

I/O

  • Drag the path type from the bottom onto its desc...ay be associated with more than one description.
  • Deleting a File Using the delete() and deleteIfExists() Methods
  • Using the isAbsolute() Method
  • Deriving a Path Using the relativize() Method
  • Deriving a Path Using the normalize() Method
  • Using the exists() Method
  • Click to select the handling methods that declare IOException.
  • Using the OutputStream Class
  • Fill in the blanks by dragging the appropriate streams from the bottom onto their correct boxes.
  • Which method must be called to properly terminate an OutputStream?
  • Drag the process from the bottom onto its descri...ay be associated with more than one description.
  • Implementing the skip() Method on a File
  • Using the mark() and reset() Methods
  • Bill wants to create a program that reads all of the lines of all of his books using NIO.2. Unfor...

JDBC

  • Using the DELETE Statement
  • Using the CREATE TABLE Statement
  • Using the UPDATE Statement
  • Which is not a SQL keyword?
  • Which of the following is a valid JDBC URL?
  • Click to select the reasons for the superiority of PreparedStatement.