File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


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.

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.
I agree. Here's the link:
subject: Multithreading
jQuery in Action, 3rd edition