This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread, Runnable interface, simple question

 
abalfazl hossein
Ranch Hand
Posts: 635
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



I want to rewrite this code by interface ( Runnable)

But I don't know how to replace this code :



When we use super keyword , we call father constructor,

But what is the similar method in Runnable interface?
 
Srikkanth Mohanasundaram
Ranch Hand
Posts: 240
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take a look at the constructors of the thread class Thread API .
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic