What is the initial state, When a thread is created and
started?
Answers were Sorted based on User's Feedback
Answer / rajesh
Initial state of the thread is ready state. When you create
an object of the class either implementing the runnable
interface or extending Thread class, thread is created.
Thread is start when developer calls;
Thread.start() method
| Is This Answer Correct ? | 10 Yes | 3 No |
Answer / dharmender
the initial state of a thread is New, when a thread instance is just created but start method is not yet invoked on it.
Once start method is called upon then it enters the Runnable state.
| Is This Answer Correct ? | 3 Yes | 2 No |
What are the pros and cons of detached objects?
How would you create a button with rounded edges?
What is private static final long serialVersionUID = 1L;
why static class in java
What is the purpose of the wait(), notify(), and notifyall() methods?
What is the form of storage space in java?
What is the difference between Process and Threads?
What will happens, when a thread cannot acquire a lock on an object?
In a multitiered application which tier is the browser in?
What is resource bundle?
What is Stream Tokenizer?
How is a java object message delivered to a non-java client?