Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Runnable interface and Thread class  RSS feed

 
Shrawan Bhageria
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Plz clear this.

If Runnable interface is better than Thread class, than why we are using Thread class? What is the need for Thread class?

Thanks in advance

Shrawan Bhageria
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a FAQ, so we have a page talking about this.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!