Book description
Table of contents
- Cover
- Title Page
- Copyright Page
- Dedication
- Contents
- Acknowledgments
- Preface
- Introduction
-
1 Declarations, Access Control, and Enums
- Java Class Design and Object Orientation: A Refresher
- Define Classes and Interfaces (OCP Objectives 1.2, 2.1, and 2.2)
- Use Interfaces (OCP Objective 2.5)
- Declare Class Members (OCP Objectives 1.2, 1.6, 2.1, and 2.2)
- Declare and Use enums (OCP Objective 2.4)
- Certification Summary
- Two-Minute Drill
- Q&A Self Test
-
2 Object Orientation
- Encapsulation (OCP Objective 1.1)
- Inheritance and Polymorphism (OCP Objectives 1.2 and 1.3)
- Polymorphism (OCP Objective 1.3)
- Overriding/Overloading (OCP Objectives 1.2, 1.3, and 2.5)
- Casting (OCP Objectives 1.2 and 1.3)
- Implementing an Interface (OCP Objective 2.5)
- Legal Return Types (OCP Objectives 1.2 and 1.3)
- Constructors and Instantiation (OCP Objectives 1.2 and 1.3)
- Singleton Design Pattern (OCP Objective 1.5)
- Immutable Classes (OCP Objective 1.5)
- Initialization Blocks (OCP Objective 1.6)
- Statics (OCP Objective 1.6)
- Certification Summary
- Two-Minute Drill
- Q&A Self Test
- 3 Assertions and Java Exceptions
- 4 Dates, Times, Locales, and Resource Bundles
- 5 I/O and NIO
-
6 Generics and Collections
- Override hashCode(), equals(), and toString() (OCP Objective 1.4)
- Collections Overview (OCP Objective 3.2)
-
Using Collections (OCP Objectives 2.6, 3.2, and 3.3)
- ArrayList Basics
- Autoboxing with Collections
- The Java 7 “Diamond” Syntax
- Sorting Collections and Arrays
- Navigating (Searching) TreeSets and TreeMaps
- Other Navigation Methods
- Backed Collections
- Using the PriorityQueue Class and the Deque Interface
- Method Overview for Arrays and Collections
- Method Overview for List, Set, Map, and Queue
- Generic Types (OCP Objective 3.1)
- Certification Summary
- Two-Minute Drill
- Q&A Self Test
- 7 Inner Classes
- 8 Lambda Expressions and Functional Interfaces
-
9 Streams
- What Is a Stream? (OCP Objective 3.4)
- How to Create a Stream (OCP Objectives 3.5 and 9.3)
- The Stream Pipeline (OCP Objective 3.6)
- Operating on Streams (OCP Objectives 3.7 and 5.1)
- Map-Filter-Reduce with average() and Optionals (OCP Objectives 5.3 and 5.4)
- Optionals (OCP Objective 5.3)
- Searching and Sorting with Streams (OCP Objectives 5.2 and 5.5)
- Collecting Values from Streams (OCP Objectives 3.8, 5.6, and 9.3)
- Streams of Streams (OCP Objective 5.7)
- Generating Streams (OCP Objective 3.4)
- A Taste of Parallel Streams
- Certification Summary
- Two-Minute Drill
- Q&A Self Test
- 10 Threads
-
11 Concurrency
- Concurrency with the java.util.concurrent Package
- Apply Atomic Variables and Locks (OCP Objective 10.3)
- Use java.util.concurrent Collections (OCP Objective 10.4)
- Use Executors and ThreadPools (OCP Objective 10.1)
- Use the Parallel Fork/Join Framework (OCP Objective 10.5)
- Parallel Streams (OCP Objective 10.6)
- Certification Summary
- Two-Minute Drill
- Q&A Self Test
- 12 JDBC
- A About the Online Content
- Index
Product information
- Title: OCP Java SE 8 Programmer II Exam Guide (Exam 1Z0-809), 7th Edition
- Author(s):
- Release date: May 2018
- Publisher(s): McGraw-Hill
- ISBN: 9781260117370
You might also like
book
OCA Java SE 8 Programmer I Study Guide (Exam 1Z0-808), 3rd Edition
The official study guide for the entry-level Oracle Certified Associate exam for Java Programmers—fully updated for …
book
OCA Java SE 8 Programmer I Exam Guide (Exams 1Z0-808)
Up-to-date coverage of every topic on the Java 8 SE Programmer I exam Prepare for the …
book
OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808
Full coverage of functional programming and all OCA Java Programmer exam ojectives OCA, Oracle Certified Associate …
book
OCA / OCP Java SE 8 Programmer Practice Tests
Test your knowledge and prepare for the OCA/OCP exams OCA/OCP Java SE 8 Programmer Practice Tests …