Which methods guarantee that a thread will leave the running state
Which methods guarantee that a thread will leave the running state?
(a) yield()
(b) sleep(1000)
(c) aLiveThread.join()
(d) wait()
(e) notify()
(f) notifyAll()
[解决办法]
a b d
[解决办法]
呵呵,估计是哪个公司的笔试题吧