Which of the following will definately stop a thread from executing 1) wait 2) yield 3) suspend() 4) sleep() I think options should be 1 and 4 suspend being deprecated and yield will only pause the thread from a moment. Mahesh
Hi Mahesh, I think all the 4, bcoz what i views as "stop executing" is the thread coming out of the Running state. So all the four methods make a thread to come out of its running state. Hence I think all the 4 r correct.