what are depricated methods in threads and explain the
lifecycle methods
Answer Posted / dara
There are two deprecated methods in threads.
1.resume
2.suspend.
life cycle of methods of thread.
1.ready to run(start() method)
2.run(run() method)
3.suspend(wait() or sleep() method)
4.resume(notify() or notifyall() method)
5.death.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What do you mean by formatting?
What is a default constraint?
How does system arraycopy work in java?
What is Session reduplication and how its done?
Where are register variables stored?
What are the advantages of assembly language?
What is collections framework?
what is static import in java? Explain
Can we write multiple catch blocks under single try block?
What is valid keyword in java?
How to print an arraylist in java?
What is the Scope of Static Variable?
Can we use a default constructor of a class even if an explicit constructor is defined?
What is the purpose of the file class in java programming?
What is dot operator?