What is the life cycle of Thread ?
Answer Posted / dhirendra kumar sharma
These are the life cycle of Thread.-------------
I) New thread
II) Runnable
III) Not runnable
IV) Dead
| Is This Answer Correct ? | 13 Yes | 7 No |
Post New Answer View All Answers
What is array initialization in java?
What is the statements?
What is the difference between preemptive scheduling and time slicing?
In how many ways we can create threads in java?
Why java is secure? Explain.
How would you convert bytes to string?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
What is exception handling in java?
What is the difference between stringbuffer and stringbuilder?
What is the difference between jvm and jre? What is an interface?
What is anonymous inner class?
If a class is declared without any access modifiers, where can the class be accessed?
Implement a stack with push (), pop() and min() in O(1) time.
Can we have multiple public classes in a java source file?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?