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
discussing thread states and the transitions between them, and thread communication
Get Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.