Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread vs runnable  RSS feed

 
Raj Jindal
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is difference between using Runnbale class and Thread class ?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Browse around in this group some; you'll see that this question is answered at least once a week. Here's a recent one.
[ October 03, 2003: Message edited by: Ernest Friedman-Hill ]
 
Gayathri Prasad
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Raj,
Lets get the ground clear... Runnable is an Interface and Thread is a class. So obvious fact is to support the mulitple inheritance the java way we have a class and an interface doing the same job.
Cheers,
Gaya3

-------------------------------------------------------------
Aim Bim,as small aim is a crime.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!