Which of the following are recommended ways a Thread may be blocked? 1) sleep() 2) wait/notify 3) suspend 4) pause Ans:1,2 suspend also causes the Thread to be blocked so should suspend not be seclected in this scenario as it is deprecated
As it is deprecated, I assume that it is not a recommended way of blocking a thread because in future versions of Java the method may not be supported (very well) anymore.