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 a class loader? What are the different class loaders used by jvm?

0 Answers  


Wt is the main difference between Java and Java J2EE and Advanced java?

5 Answers   Wipro,


Are there books about seam?

0 Answers  


Explain the stub's and skeleton's functionality?

7 Answers  


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

0 Answers  






What is a modular application?

0 Answers  


What is meant by method chaining?

0 Answers  


What is Stream Tokenizer?

0 Answers   TCS,


What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting condition?

1 Answers  


What is the difference between RMI registry and OS Agent?

0 Answers  


Explain the life cycle of servlet?

3 Answers   Cognizant, HCL,


What is the diffrence between a local-tx-datasource and a xa-datasource?

0 Answers  


Categories