what are depricated methods in threads and explain the
lifecycle methods
Answer Posted / prerana
The depricated methods in threads are
1. stop
2. suspend
3. Resume
Life cycle of thread
A thread can be only in one of the five states
1. New (Not alive)
2. Runnable (alive)
3. Running
4. Waiting/Blocking/Sleeping
5. Dead
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are the advantages of java over cpp?
What is the use of a conditional inclusion statement in Java ?
Can we nested try statements in java?
Is null in java?
Why do we use string?
Can we override data members in java?
What is the different between get and post?
When will you define a method as static?
Why stringbuffer is faster than string?
What are keywords in programming?
What are basic data types?
What are register variables what are the advantages?
Can we force the garbage collection to run?
Why java applets are more useful for intranets as compared to internet?
What is difference between == and === in js?