what are depricated methods in threads and explain the
lifecycle methods
Answer Posted / prerana
The depricated methods in threads are
1. stop
2. suspend
3. Resume
Life cycle of thread
A thread can be only in one of the five states
1. New (Not alive)
2. Runnable (alive)
3. Running
4. Waiting/Blocking/Sleeping
5. Dead
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is JVM and is it platform independent?
Explain how to convert any java object into byte array.
What is time complexity algorithm?
How do you join strings in java?
How is it possible for two string objects with identical values not to be equal under the == operator?
What is difference between filereader and bufferedreader?
What is the difference between serializable and externalizable interfaces?
How to sort elements in a parallel array in java?
Which of the following classes will have more memory allocated?
What is google full form?
What are the main differences between the java platform and other platforms?
What is boolean in java?
How many wrapper classes are there in java?
What is a heavyweight component?
how to open and edit XML file in Weblogic???