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 is checkpoint? How to create checkpoints in our java projects?
What is deadlock?
How substring() method of string class create memory leaks?
JMS based on what technology?
What are the high-level thread states?
How to pass parameters in RMI?
what is stringBuffer and StringBuilder?
Howmany interfaces are used in RMI?
how i secure my site with the https protocol.what are the steps?
is servlet,struts are threadsafe or not.please telme correct answer
What are the different class loaders used by jvm?
what is catalina in tomcat server.