What are the states associated in the thread?
Answers were Sorted based on User's Feedback
Answer / dharmender
1. New
2. Runnable
3. Running
4. Waiting/Blocked
5. Dead
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / janet
Thread contains ready ,running,waiting and dead states
Is This Answer Correct ? | 5 Yes | 1 No |
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 |
What is a class loader? What are the different class loaders used by jvm?
Wt is the main difference between Java and Java J2EE and Advanced java?
Are there books about seam?
Explain the stub's and skeleton's functionality?
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.
What is a modular application?
What is meant by method chaining?
What is Stream Tokenizer?
What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting condition?
What is the difference between RMI registry and OS Agent?
Explain the life cycle of servlet?
What is the diffrence between a local-tx-datasource and a xa-datasource?