• Create and Use the Thread Class and the Runnable Interface
• Manage and Control the Thread Lifecycle
• Synchronize Thread Access to Shared Data
• Identify Code that May Not Execute Correctly in a Multithreaded Environment
Q&A Self Test
Defining, Instantiating, and Starting Threads (OCP Objective 10.1)
10.1 Create and use the Thread class and the Runnable interface.
Imagine a stockbroker application with a lot of complex capabilities. One of its functions is “download last stock option prices,” another is “check prices for ...