On the Dan exam he uses the terms not-runnable and ready, I was originally thinking of not-runnable as dead, but in the context of some of his answers it seems to have the same definition as ready. Can anyone define these terms?
Gerald, The Java Language Specification does not define state names, so there is no general consensus on what the names should be. For example, Doug Lea uses the names Created, Runnable, Running, Blocked, and Terminated. Cay Horstmann uses the names New, Runnable, Blocked and Dead. My exam uses the state names that appear in Sun's Java tutorial. The JLS can not define state names, because Java makes use of threading functionality that existed before Java. In other words, Java really just provides an API to products that were already up and running. The "Not-Runnable" state can also be called the "Blocked" state. The "Ready" state could also be called the "Runnable" state.
Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>