• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread Basics  RSS feed

 
deepak munjlani
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends ,

This is my first topic on this site .
I just have a confusion that ..
Why we need Thread Class if we already have Runnable Interface which can be very well used to create threads.
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by deepak munjlani:
we already have Runnable Interface which can be very well used to create threads.


You will answer your question simply by attempting to do this. How would you create a new thread, using only the Runnable interface, not Thread?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!