What are the states associated in the thread?

Answers were Sorted based on User's Feedback



What are the states associated in the thread?..

Answer / dharmender

1. New
2. Runnable
3. Running
4. Waiting/Blocked
5. Dead

Is This Answer Correct ?    8 Yes 2 No

What are the states associated in the thread?..

Answer / janet

Thread contains ready ,running,waiting and dead states

Is This Answer Correct ?    5 Yes 1 No

What are the states associated in the thread?..

Answer / s.ramesh

Thread States.

1. RUNNABLE --- When a thread is Processed by CPU
2. BLOCKED --- When a thread is Deadlocked or blocked by
some other resources
3. WAITING --- When a thread is waiting to process
4. TIMED_WAITING -- When a thread is in sleeping
5. Dead --- When a thread is completely processed

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Advanced Java Interview Questions

What is ioc concept?

0 Answers  


What are skeletons and stubs and how they are generated?

2 Answers  


What is a tasks priority and how is it used in scheduling?

0 Answers  


What is a compilation unit?

1 Answers  


What are transaction attributes?

0 Answers  






list the types of dialodg

1 Answers   Wipro,


What is a task?s priority?

1 Answers  


What is multi-tasking? Types?

1 Answers  


What is waiting state? In what ways a thread can enter into waiting state?

2 Answers   Wipro,


can any one tell me how to learn good coding techniques

3 Answers  


What class is the top of the awt event hierarchy?

0 Answers  


What are callback interfaces?

0 Answers  


Categories