This chapter is from the book
Chapter Summary
The following information was included in this chapter:
- creating threads by extending the Thread class or implementing the Runnable interface
- writing synchronized code using synchronized methods and synchronized blocks to achieve mutually exclusive access to shared resources
- understanding thread states, and the transitions between them, and thread communication
- understanding which thread behavior a program must not take as guaranteed