• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multithreading

 
Gaurav Sahu
Greenhorn
Posts: 9
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is interrupt() a deprecated method of Thread class ?? If yes, then why is it used in some questions in Exam Lab mock tests ?? Please clarify
 
Zeeshan Sheikh
Ranch Hand
Posts: 144
Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
interrupt method is NOT deprecated as per Java API.
 
Gaurav Sahu
Greenhorn
Posts: 9
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it on the exam ??
 
Helen Ma
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cannot gurantee that interrupt() won't be on the exam. I guess it is less likely, but still possible.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic