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

How can I avoid validating a form before data is entered?

0 Answers  


what is a Daemon Thread?

2 Answers  


what is domain,give me some brief information about that?

1 Answers  


What exceptions are thrown by RMI?

1 Answers  


Why does most servlets extend HttpServlet?

4 Answers   Accenture, Wipro,






Why JDBC has introduced

4 Answers  


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

0 Answers   Infosys,


What is the immediate superclass of the applet class?

0 Answers  


Explain the purposes of methods wait(), notify(), notifyAll ()?

2 Answers  


Write a program to show synchronization?

0 Answers  


What is aop(assepct oriented programing)?

0 Answers  


What is the difference between Super and This Keyword?

4 Answers   HCL, TCS,


Categories