aspose file tools*
The moose likes Java in General and the fly likes Multithreading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Multithreading" Watch "Multithreading" New topic
Author

Multithreading

Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
What is the difference between implementing runnable interface and Extending a Thread in Multithreading.what are the advantages and disadvantages.
Thanks,
Mathews.


Thanks,
Mathews
Nilesh Srivastava
Ranch Hand

Joined: Aug 29, 2003
Posts: 70
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Multithreading