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:
The main points in project structure are:
doc
directory - notes for each chapter summarized to one document (one for OCA and one for OCP)src/main/java/cz/jjaros/study/oca
- examples for Oracle Certified Associatesrc/main/java/cz/jjaros/study/ocp
- examples for Oracle Certified Professionalsrc/main/java/cz/jjaros/study/helper
- global helper classes used in more then one chapter- required helper classes for concrete chapter are stored directly in sub-package for that chapter
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.
git clone https://github.com/jjaros/lombok-example.git
You should have Oracle Java 8 SDK installed.
- Basics - Classes, Static classes, Inner classes, Anonymous classes
- Varargs
- Init blocks
- Packages - Packages and imports
- Constructors
- Labels
- Comparators
- Variables - Numeric, String or Arrays variables, Enums and operators
- DateTime API - Java 8 DateTime API
- Abstract - Abstract classes and methods
- Interface
- Lambda expressions - Basics of Lambda expressions
- Exceptions
- Classes and objects - inheritance, immutable classes, basic Dozer example
- Generics and Collections
- Functional interfaces - lambda expressions, standard interfaces,
Bi*
interfaces - Stream API
- Concurrency and Synchronization - deadlock, daemon, pool, fork-join, cyclic barrier, ...
- DateTime API
- Assertions
- Localization
- JDBC
- Files and I/O Fundamentals
OCA:
- www.tutorialspoint.com/java/java_exceptions
- www.tutorialspoint.com/java/java_innerclasses
- docs.oracle.com/javase/tutorial/java/nutsandbolts/operators
- docs.oracle.com/javase/tutorial/java/data/autoboxing
- docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes
OCP:
- docs.oracle.com/javase/8/docs/technotes/guides/language/assert
- www.geeksforgeeks.org/pojo-vs-java-beans/
- stackoverflow.com/questions/2460048/difference-between-java-bean-and-enterprise-java-beans/
- docs.oracle.com/javase/tutorial/essential/concurrency/imstrat
- stackoverflow.com/questions/4343202/difference-between-super-t-and-extends-t-in-java