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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.