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
Enlist diffrent types of inheritance supported by java?
Can you inherit from an abstract class java?
What is general methodology?
Is vector synchronized in java?
Describe string intern() methodology
Explain wait(), notify() and notifyall() methods of object class ?
Can a constructor have different name than a class name in java?
What is a dot notation?
What does n mean?
What is final keyword?
Can we override private method?
State two differences between C and Java.
What is an object’s lock and which object’s have locks?
What do you understand by soft reference?
Is a boolean variable?