Click here - / @interviewdot to get notifications. Fresher Java Interview Question Answer Different Thread States Explain Runnable,Running,Blocked,Wait
A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...
Other Top Job Portals
www.Naukri.com
www.MonsterIndia.com
www.TimesJobs.com
Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...
Once a new thread is started, it will always enter the runnable state.
The thread scheduler can move a thread back and forth between the
runnable state and the running state.
For a typical single-processor machine, only one thread can be running at a
time, although many threads may be in the runnable state.
There is no guarantee that the order in which threads were started
determines the order in which they'll run.
There's no guarantee that threads will take turns in any fair way. It's up
to the thread scheduler, as determined by the particular virtual machine
implementation. If you want a guarantee that your threads will take turns
regardless of the underlying JVM, you can use the sleep method.
A running thread may enter a blocked/waiting state by a wait, sleep,
or joincall.
Sur cette page du site, vous pouvez voir la vidéo en ligne Fresher Java Interview Question Answer Different Thread States Explain Runnable,Running,Blocked,Wait durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Interview DOT 30 décembre 2013, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 263 fois et il a aimé 0 téléspectateurs. Bon visionnage!