可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Which two CANNOT direc


Which two CANNOT directly cause a thread to stop executing? ()  

  • A Calling the yield method.
  • B Calling the wait method on an object.
  • C Calling the notify method on an object.
  • D Calling the notifyAll method on an object.
  • E Calling the start method on another Thread object.
参考答案
参考解析:
分类:SCJP程序员认证考试题库
相关推荐

1、Which two methods, ins

Which two methods, inserted independently at line 17, correctly complete the Sales class?()Adouble&e...

2、Which two statements a

Which two statements are true?()AFoo.beta() is a valid invocation of beta().BFoo.alpha() is a&en...

3、Which two can be 

Which two can be results?()Ajava.lang.RuntimeException: ProblemBrun.java.lang.RuntimeException: ProblemCEnd of method.ja...

4、Given: Which two code&ensp

Given:Which two code fragments, inserted independently at line 3, generate the output 4247? ()...

5、Which two changes, tak

Which two changes, taken together, would guarantee the output: 1, 2, 3, 4, 5?()Amove ...

6、Which two, inserted at

Which&ensp;two,&ensp;inserted&ensp;at&ensp;line&ensp;11,&ensp;will&ensp;allow&ensp;the&ensp;code&ensp;to&ensp;compile?()Apublic&ensp;class&ensp;MinMax<?>{Bpubl...