/java-oca-ocp-study

WIP: Study materials for Oracle certifications - OCA&OCP Java SE 8

Primary LanguageJava

OCA&OCP Java SE 8 Study materials

This project contains summarized notes and Java classes for studying the Oracle certification - OCA and OCP Java SE 8.

Note: This materials are not 100% exhaustive and should not be used as main study materials but it can be good start point or support for your studying.

Great preparation is e.g. question bank provided by Enthuware.

Also there are many Android applications with questions and mock tests. In my preparation I used the following:

For OCA:

For OCP:

Introduction

The main points in project structure are:

Examples are structured to chapters. Each chapter is stored in separate package. Each package contains README.md file with notes to concrete chapter. It provides easy way how to show notes here on GitHub. If you want to get all notes at one place, you can read java_oca_cz_notes.odt or java_ocp_cz_notes.odt (beware: both are currently only in czech).

Java classes with examples contains a lot of comments. Is it good to use examples in Java classes with notes at GitHub or notes in java_oca_cz_notes.odt (resp. in java_ocp_cz_notes.odt) together.

Each Java class with examples contain main method. Examples provides a lot of text printed to standard output. You can easy verify the behavior of code.

Clone repository

git clone https://github.com/jjaros/lombok-example.git

Prerequisites

You should have Oracle Java 8 SDK installed.

OCA chapters

  1. Basics - Classes, Static classes, Inner classes, Anonymous classes
  2. Varargs
  3. Init blocks
  4. Packages - Packages and imports
  5. Constructors
  6. Labels
  7. Comparators
  8. Variables - Numeric, String or Arrays variables, Enums and operators
  9. DateTime API - Java 8 DateTime API
  10. Abstract - Abstract classes and methods
  11. Interface
  12. Lambda expressions - Basics of Lambda expressions
  13. Exceptions

OCP chapters

  1. Classes and objects - inheritance, immutable classes, basic Dozer example
  2. Generics and Collections
  3. Functional interfaces - lambda expressions, standard interfaces, Bi* interfaces
  4. Stream API
  5. Concurrency and Synchronization - deadlock, daemon, pool, fork-join, cyclic barrier, ...
  6. DateTime API
  7. Assertions
  8. Localization
  9. JDBC
  10. Files and I/O Fundamentals

Sources and references

OCA:

OCP: