I read this about thread's state,
http://docs.oracle.com/javase/7/docs/ap ... State.html
and the answer for the question is a little bit confused
About Question enthuware.ocpjp.v7.2.1290 :
Moderator: admin
-
- Posts: 47
- Joined: Mon Apr 08, 2013 7:55 pm
- Contact:
-
- Site Admin
- Posts: 10068
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1290 :
You are right, it looks inconsistent with API. However, the states in the API are from a different perspective. They are the valid values for Thread.State enum (that is why they have the same state for Runnable and Running). While the question is talking from a conceptual perspective.
HTH,
Paul.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 129 guests