What is the initial state, When a thread is created and
started?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

578


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1360


Which are the different segments of memory?

593


whats is statement and procedure

1585


which book is better for jdbc ,servlets and jsp

1644






Have you used threads in Servelet?

1928


How are the elements of a cardlayout organized?

594


What is the relation between the infobus and rmi?

554


Is there a guarantee of uniqueness for entity beans?

568


whats is mean by tiles in struts

1615


Why use a datasource when you can directly specify a connection details?

532


What is a class loader?

584


What is clustering? What are the different algorithms used for clustering?

576


How many times may an objects finalize() method be invoked by the garbage collector?

668


What is the difference between session and entity beans?

578