Thursday, January 2, 2020

Java SE 8 Programmer II (1Z0-809)

1Z0-809

Java Class Design

  1. Implement encapsulation
  2. Implement inheritance including visibility modifiers and composition
  3. Implement polymorphism
  4. Override hashCode, equals, and toString methods from Object class
  5. Create and use singleton classes and immutable classes
  6. Develop code that uses static keyword on initialize blocks, variables, methods, and classes

Generics and Collections

  1. Create and use a generic class
  2. Create and use ArrayList, TreeSet, TreeMap, and ArrayDeque objects
  3. Use java.util.Comparator and java.lang.Comparable interfaces
  4. Collections Streams and Filters
  5. Iterate using forEach methods of Streams and List
  6. Describe Stream interface and Stream pipeline
  7. Filter a collection by using lambda expressions
  8. Use method references with Streams

Java Stream API

  1. Develop code to extract data from an object using peek() and map() methods including primitive versions of the map() method
  2. Search for data by using search methods of the Stream classes including findFirst, findAny, anyMatch, allMatch, noneMatch
  3. Develop code that uses the Optional class
  4. Develop code that uses Stream data methods and calculation methods
  5. Sort a collection using Stream API
  6. Save results to a collection using the collect method and group/partition data using the Collectors class
  7. Use flatMap() methods in the Stream API

Use Java SE 8 Date/Time API

  1. Create and manage date-based and time-based events including a combination of date and time into a single object using LocalDate, LocalTime, LocalDateTime, Instant, Period, and Duration
  2. Work with dates and times across timezones and manage changes resulting from daylight savings including Format date and times values
  3. Define and create and manage date-based and time-based events using Instant, Period, Duration, and TemporalUnit

Java File I/O (NIO.2)

  1. Use Path interface to operate on file and directory paths
  2. Use Files class to check, read, delete, copy, move, manage metadata of a file or directory
  3. Use Stream API with NIO.2

Building Database Applications with JDBC

  1. Describe the interfaces that make up the core of the JDBC API including the Driver, Connection, Statement, and ResultSet interfaces and their relationship to provider implementations
  2. Identify the components required to connect to a database using the DriverManager class including the JDBC URL
  3. 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
Advanced Java Class Design

  1. Develop code that uses abstract classes and methods
  2. Develop code that uses the final keyword
  3. Create inner classes including static inner class, local class, nested class, and anonymous inner class
  4. Use enumerated types including methods, and constructors in an enum type
  5. Develop code that declares, implements and/or extends interfaces and use the @Override annotation.
  6. Create and use Lambda expressions

Lambda Built-in Functional Interfaces

  1. Use  the built-in interfaces included in the java.util.function package such as Predicate, Consumer, Function, and Supplier
  2. Develop code that uses primitive versions of functional interfaces
  3. Develop code that uses binary versions of functional interfaces
  4. Develop code that uses the UnaryOperator interface

Exceptions and Assertions

  1. Use try-catch and throw statements
  2. Use catch, multi-catch, and finally clauses
  3. Use Autoclose resources with a try-with-resources statement
  4. Create custom exceptions and Auto-closeable resources
  5. Test invariants by using assertions

Java I/O Fundamentals

  1. Read and write data from the console
  2. Use BufferedReader, BufferedWriter, File, FileReader, FileWriter, FileInputStream, FileOutputStream, ObjectOutputStream, ObjectInputStream, and PrintWriter in the java.io package.
Java Concurrency
  1. Create worker threads using Runnable, Callable and use an ExecutorService to concurrently execute tasks
  2. Identify potential threading problems among deadlock, starvation, livelock, and race conditions
  3. Use synchronized keyword and java.util.concurrent.atomic package to control the order of thread execution
  4. Use java.util.concurrent collections and classes including CyclicBarrier and CopyOnWriteArrayList
  5. Use parallel Fork/Join Framework
  6. Use parallel Streams including reduction, decomposition, merging processes, pipelines and performance.

Localization

  1. Read and set the locale by using the Locale object
  2. Create and read a Properties file
  3. Build a resource bundle for each locale and load a resource bundle in an application