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 stream pipelining in java 8?
What are different access specifiers in java? Explain
Difference between object instantiation and construction ?
What is the difference between JDK and JVM?
Can we convert stringbuilder to string in java?
What does += mean in java?
What is an immutable object? How do you create one in java?
How many bytes is a char in java?
Can I overload to string method
How do you access command-line arguments within the code?
What is the mapping mechanism used by java to identify IDL language?
Difference between abstract and concrete class ?
What are the 2 types of java programs?
Explain the concept of proper inheritance?
How do you initialize an arraylist in java?