This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multithreading
 
It's not a secret anymore!