Give a briefing on the life cycle of a thread.
Answer / nashiinformaticssolutions
The life cycle of a thread includes five stages, as mentioned below.
1. New Born State
2. Runnable State
3. Running State
4. Blocked State
5. Dead State
| Is This Answer Correct ? | 0 Yes | 0 No |
what are depricated methods in threads and explain the lifecycle methods
explain me with a code snippet about the generation and handling of null point exceptions.
what is the purpose of the runtime class?
Can you change array size in java?
What are the differences between throw and throws?
What value is a variable of the string type automatically initialized?
Explain the differences between static and dynamic variables?
What happens when a thrown exception is not handled?
they asked class A{} class B{} class c{} all the three class saved as a single file,there is no main method in the file and anothe class M.java class m { psvm(String args[]) { // here the parent class can access } }
2 Answers DNS, IPSR Solutions,
How can we make a class virtual?
How objects are stored in java?
What does n mean?