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
State two differences between C and Java.
What is the difference between form & report?
What is the difference between equals() and == in java?
Explain about arraylist?
What is the type of lambda expression?
What are byte codes?
How can you traverse a linked list in java?
How many days will it take to learn java?
What is final variable?
How to solve the problem of generating the unique hash keys with hash function?
How java is similar to c?
How can you set an applet’s height and width as a percentage?
What is the purpose of static methods and variables?
Explain about the select method with an example?
What is use of arraylist in java?