Specifications
Sun Services
Java™ Programming Language
Module 13, slide 2 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Objectives
• Define a thread
• Create separate threads in a Java technology program,
controlling the code and data that are used by that
thread
• Control the execution of a thread and write platform-
independent code with threads
• Describe the difficulties that might arise when multiple
threads share data
• Use wait and notify to communicate between threads
• Use synchronized to protect data from corruption










