this question confuse me , pls help me. 37.Which of the following statements are true, Select all correct answers. A. The wait method defined in the Thread class, can be used to convert a thread from Running state to Waiting state. B. The wait(), notify(), notifyAll() methods must be executed in synchronized code. C. The notify() and notifyAll() methods can be used to signal and move waiting threads to ready-to-run state. D. The Thread class is an abstract class. i choose A,B. But the answer is B,C. who can give me the explainn why A is wrong and C is correct. i have studied SCJP material for half one month. i will join the real exam in eight days. i have done five mock exams. i found the Jxam software is quite difficult, more than that three mock exams designed by Marcus Green. i want to know if the real exam is more difficult than Marcus Green's question. who can solve my doubt? thanks a lot.
Hi Andrew, In my opinion A, B and C options are right. I see no reason for A to be wrong, if someone can explain us its well and good. C option is very much correct as notify() and notifyall() methods very much bring threads from waiting state to ready to run state, then they are called by scheduler. I have heard that actual exam's toughness level is somehow very close to Marcus Mock Test and definitely its not tougher than the real exam. All the best for the exam Jyotsna