Fresher Java Interview Question Answer Different Thread States Explain Runnable,Running,Blocked,Wait

Publicado em: 30 Dezembro 2013
no canal de: Interview DOT
263
0

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.


Nesta página do site você pode assistir ao vídeo on-line Fresher Java Interview Question Answer Different Thread States Explain Runnable,Running,Blocked,Wait duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Interview DOT 30 Dezembro 2013, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 263 vezes e gostou 0 espectadores. Boa visualização!