What will the state of thread after calling the sleep methodA newly created B runnable C not operational D Terminate death
The state of the thread after calling the sleep method will be "not operational" or "blocked". The sleep method causes the thread to pause its execution for a specific amount of time, but the thread is not terminated or killed. It is simply not able to execute any further until the sleep time has elapsed.
原文地址: http://www.cveoy.top/t/topic/g1Kn 著作权归作者所有。请勿转载和采集!