Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which two CANNOT directly cause a thread to stop executing?

 
guo mark
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A.exiting from a synchronized block.
B.calling the wait method on an object
C.calling the notify method on an object
D.calling a read method on an InputStream object
E.calling the setPriority method on a Thread object
are A,D
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
guo
Are you asking a question or just lettng us know the answer? If it is a question then try to do a search for it here. There have been multiple posts on the same question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic