SCJP EXAM OBJECTIVES COVERED IN THIS CHAPTER:
- Write code to define, instantiate, and start new threads using both java.lang.Thread and java.lang.Runnable.
- Recognize the states in which a thread can exist, and identify ways in which a thread can transition from one state to another.
- Given a scenario, write code that makes appropriate use of object locking to protect static or instance variables from concurrent access problems.
- Given a scenario, write code that makes appropriate use of wait, notify, or notifyAll.
These objectives are found in Section 4 of the SCJP exam objectives. The exam tests your knowledge of writing ...