Images

10

Threads

CERTIFICATION OBJECTIVES

•       Create Worker Threads Using Runnable, Callable, and Use an ExecutorService to Concurrently Execute Tasks

•       Identify Potential Threading Problems among Deadlock, Starvation, Livelock, and Race Conditions

•       Use Synchronized keyword and java.util.concurrent.atomic Package to Control the Order of Thread Execution

Images     Two-Minute Drill

Q&A   Self Test

CERTIFICATION OBJECTIVE

Defining, Instantiating, and Starting Threads (OCP Objective 10.1)

10.1   Create worker threads using Runnable, Callable, ...

Get OCP Java SE 8 Programmer II Exam Guide (Exam 1Z0-809), 7th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.