What is the life cycle of Thread ?
Answer Posted / harish
Once you create a Thread Class. Instantiate the Thread and
invoke the method start. It intern triggers the run method
on the Thread. Once the run method is completed, The
thread will be in dead state.
| Is This Answer Correct ? | 53 Yes | 20 No |
Post New Answer View All Answers
What is a singleton class? Give a practical example of its usage.
What are static blocks in java ?
What does 0 mean in boolean?
Can we assign the reference to this variable?
What is ellipsis in java?
Can constructor return value?
What is formatted output in java?
What is predicate in java?
What does a boolean method return?
Do you know why doesn't the java library use a randomized version of quicksort?
Is there a way to increase the size of an array after its declaration?
What is the difference between an inner class and a sub-class?
Can we catch more than one exception in a single catch block?
What are the topics in core java?
What’s meant by anonymous class?