Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multithreading

 
Mathews P Srampikal
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between implementing runnable interface and Extending a Thread in Multithreading.what are the advantages and disadvantages.
Thanks,
Mathews.
 
Nilesh Srivastava
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When u r extending a Thread u wont be able to extend any other class.
This is the biggest drawback with extending the Thread, what I feel.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic