O'Reilly logo

OCP Java SE 7 Programmer II Certification Guide: Prepare for the 1ZO-804 exam by Mala Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Threads

Exam objectives covered in this chapter

What you need to know

[10.1] Create and use the Thread class and the Runnable interface How to use class Thread and the Runnable interface to create classes that can execute as a separate thread of execution.
[10.2] Manage and control thread lifecycle What states a thread of execution can be in, and how it transitions from one state to another including the methods involved. What is or can’t be guaranteed by each method. How the execution of a method depends on the thread scheduling by the underlying operating system.
[10.3] Synchronize thread access to shared data How sharing of objects between threads can lead to inconsistent memory and invalid object state. How ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required