What is the initial state, When a thread is created and
started?
Answer Posted / 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 |
Post New Answer View All Answers
Define prototype?
What is the RMI and Socket?
What are the different methods of identifying an object?
What is glasgow?
What is the purpose of the notify() method?
Explain about thread synchronization inside a monitor?
What is the difference between static and non-static with examples?
Explain how will the struts know which action class to call when you submit a form?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is ripple effect?
What is permgen or permanent generation?
What is the highest-level event class of the event-delegation model?
Will the general public have access to the infobus apis?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
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!