OCJP Certification Syllabus

Java 8 Certification or OCJP Certification Syllabus (Oracle Certified Java Profession) has two certification exams. The 1st certification exam is called OCA (Oracle Certified Associate 1Z0-808). This java certification is known as Associates Certification. The 2nd level exam is slightly advanced level certification called OCP 8 (Oracle Certified Professional 1Z0-809) exam.

(Related Links : Java Certification 8 Tutorial & Java Certification Practice Papers)

Java Certification

If you can score 80% & aboveconsistently on all of the chapters related to the examyou want to take, including the simulated practice exam, then you are probably ready totake the real exam. Just remember theres a big difference between taking a practice testat home and spending hundreds of dollars to take a real exam at a test centre.We could write an entire chapter on test taking skills and study tips. Oh wait, we did!Both our OCA 8 and OCP 8 books each contain an appendix chock-full of helpful tips andsuggestions that are designed to help you manage your time. They also include notes onhow to eliminate obviously wrong answers so that when you have to guess, yourechoosing between two choices and not five.Finally, although a lot of people are inclined to cram as much material as they can in thehours leading up to the exam, most studies have shown that this is a poor test-takingstrategy. The best thing we can recommend that you do before the exam is to get a goodnights rest!

Refer the complete exam questions.

OCJP Certification Syllabus - OCA

  • Chapter 1 Java Basics(view practice paper)
    • Define the scope of variables
    • Define the structure of a Java class
    • Create executable Java applications with a main method; run a Java program fromthe command line; produce console output
    • Import other Java packages to make them accessible in your code
    • Compare and contrast the features and components of Java such as: platformindependence, object orientation, encapsulation, etc.
  • Chapter 2 Working with Java Data Types(view practice paper)
    • Declare and initialize variables (including casting of primitive data types)
    • Differentiate between object reference variables and primitive variables
    • Know how to read or write to object fields
    • Explain an Objects Lifecycle (creation, dereference by reassignment and garbagecollection)
    • Develop code that uses wrapper classes such as Boolean, Double, and Integer
  • Chapter 3 Using Operators and Decision Constructs(view practice paper)
    • Use Java operators; use parentheses to override operator precedence
    • Test equality between Strings and other objects using == and equals()
    • Create if and if/else and ternary constructs
    • Use a switch statement
  • Chapter 4 Creating and Using Arrays(view practice paper)
    • Declare, instantiate, initialize and use a one-dimensional array
    • Declare, instantiate, initialize and use multi-dimensional arrays
  • Chapter 5 Using Loop Constructs(view practice paper)
    • Create and use while loops
    • Create and use for loops including the enhanced for loop
    • Create and use do/while loops
    • Compare loop constructs
    • Use break and continue
  • Chapter 6 Working with Methods and Encapsulation(view practice paper)
    • Create methods with arguments and return values; including overloaded methods
    • Apply the static keyword to methods and fields
    • Create and overload constructors; differentiate between default and user definedconstructors
    • Apply access modifiers
    • Apply encapsulation principles to a class
    • Determine the effect upon object references and primitive values when they arepassed into methods that change the values
  • Chapter 7 Working with Inheritance(view practice paper)
    • Describe inheritance and its benefits
    • Develop code that makes use of polymorphism; develop code that overrides
    • methods; differentiate between the type of a reference and the type of an object
    • Determine when casting is necessary
    • Use super and this to access objects and constructors
    • Use abstract classes and interfaces
  • Chapter 8 Handling Exceptions(view practice paper)
    • Differentiate among checked exceptions, unchecked exceptions, and Errors
    • Create a try-catch block and determine how exceptions alter normal program flow
    • Describe the advantages of Exception handling
    • Create and invoke a method that throws an exception
    • Recognize common exception classes (such as NullPointerException, ArithmeticException, ArrayIndexOutOfBoundsException, ClassCastException)
  • Chapter 9 Working with Selected Classes from the Java API (view practice paper)
    • Manipulate data using the StringBuilder class and its methods
    • Create and manipulate Strings
    • Create and manipulate calendar data using classes from java.time.LocalDateTime,java.time.LocalDate, java.time.LocalTime, java.time.format.DateTimeFormatter,java.time.Period
    • Declare and use an ArrayList of a given type
    • Write a simple Lambda expression that consumes a Lambda Predicate expression

OCJP Certification Syllabus - OCP

  • Chapter 11 Java Class Design(view practice paper)
    • Implement encapsulation
    • Implement inheritance including visibility modifiers and composition
    • Implement polymorphism
    • Override hashCode, equals, and toString methods from Object class
    • Create and use singleton classes and immutable classes
    • Develop code that uses static keyword on initialize blocks, variables, methods, andclasses
  • Chapter 12 Advanced Java Class Design(view practice paper)
    • Develop code that uses abstract classes and methods
    • Develop code that uses the final keyword
    • Create inner classes including static inner class, local class, nested class, andanonymous inner class
    • Use enumerated types including methods, and constructors in an enum type
    • Develop code that declares, implements and/or extends interfaces and use the@Override annotation
    • Create and use Lambda expressions
  • Chapter 13 Generics and Collections(view practice paper)
    • Create and use a generic class
    • Create and use ArrayList, TreeSet, TreeMap, and ArrayDeque objects
    • Use java.util.Comparator and java.lang.Comparable interfaces
    • Collections Streams and Filters
    • Iterate using forEach methods of Streams and List
    • Describe Stream interface and Stream pipeline
    • Filter a collection by using lambda expressions
    • Use method references with Streams
  • Chapter 14 Lambda Built-in Functional Interfaces(view practice paper)
    • Use the built-in interfaces included in the java.util.function package such as
    • Predicate, Consumer, Function, and Supplier
    • Develop code that uses primitive versions of functional interfaces
    • Develop code that uses binary versions of functional interfaces
    • Develop code that uses the UnaryOperator interface
  • Chapter 15 Java Stream API(view practice paper)
    • Develop code to extract data from an object using peek() and map() methods including primitive versions of the map() method
    • Search for data by using search methods of the Stream classes including findFirst,findAny, anyMatch, allMatch, noneMatch
    • Develop code that uses the Optional class
    • Develop code that uses Stream data methods and calculation methods
    • Sort a collection using Stream API
    • Save results to a collection using the collect method and group/partition data usingthe Collectors class
    • Use flatMap() methods in the Stream API
  • Chapter 16 Exceptions and Assertions(view practice paper)
    • Use try-catch and throw statements
    • Use catch, multi-catch, and finally clauses
    • Use Autoclose resources with a try-with-resources statement
    • Create custom exceptions and Auto-closeable resources
    • Test invariants by using assertions
  • Chapter 17 Use Java SE 8 Date/Time API(view practice paper)
    • Create and manage date-based and time-based events including a combination ofdate and time into a single object using LocalDate, LocalTime, LocalDateTime,Instant, Period, and Duration
    • Work with dates and times across timezones and manage changes resulting fromdaylight savings including Format date and times values
    • Define and create and manage date-based and time-based events using Instant,Period, Duration, and TemporalUnit
  • Chapter 18 Java I/O Fundamentals (view practice paper)
    • Read and write data from the console
    • Use BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream, andPrintWriter in the java.io package.
  • Chapter 19 Java File I/O (NIO.2)(view practice paper)
    • Use Path interface to operate on file and directory paths
    • Use Files class to check, read, delete, copy, move, manage metadata of a file ordirectory
    • Use Stream API with NIO.2
  • Chapter 20 Java Concurrency(view practice paper)
    • Create worker threads using Runnable, Callable and use an ExecutorService toconcurrently execute tasks
    • Identify potential threading problems among deadlock, starvation, livelock, andrace conditions
    • Use synchronized keyword and java.util.concurrent.atomic package to control theorder of thread execution
    • Use java.util.concurrent collections and classes including CyclicBarrier andCopyOnWriteArrayList
    • Use parallel Fork/Join Framework
    • Use parallel Streams including reduction, decomposition, merging processes,pipelines and performance.
  • Chapter 21 Building Database Applications with JDBC(view practice paper)
    • Describe the interfaces that make up the core of the JDBC API including theDriver, Connection, Statement, and ResultSet interfaces and their relationship toprovider implementations
    • Identify the components required to connect to a database using theDriverManager class including the JDBC URL
    • Submit queries and read results from the database including creating statements,returning result sets, iterating through the results, and properly closing result sets,statements, and connections
  • Chapter 22 Localization(view practice paper)
    • Read and set the locale by using the Locale object
    • Create and read a Properties file
    • Build a resource bundle for each locale and load a resource bundle in anapplication

OCJP Exam Detail

All OCJP Java Certification Tutorials

  1. Oracle (OCJP) Java Certification Exam
  2. Java Building Blocks Java 8 Certification
  3. Operators And Statements
  4. Java Core API
  5. Java Class Design
  6. Java Exception
  7. Java Try-Catch Block
  8. Exceptional Handling in Java
  9. Common Exception in Java