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
Can we use different return types for methods when overridden?
What is the main use of java?
What is protected in java?
Why are global variables used?
How many unicode characters are there?
What is the most important feature of java? What is an interface?
Can we nested try statements in java?
Can we override the static method?
How big is a 64 bit float?
How do you convert string to int in java?
What is a website container?
Say any two properties in beans?
What are the five major types of reference sources?
What is byte value?
What is the difference between access specifiers and access modifiers in java? 16