wood burning stoves 2.0
The moose likes Threads and Synchronization and the fly likes Thread, Runnable interface, simple question 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 » Threads and Synchronization
Bookmark "Thread, Runnable interface, simple question" Watch "Thread, Runnable interface, simple question" New topic

Thread, Runnable interface, simple question

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635

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

Joined: Feb 07, 2007
Posts: 236
Please take a look at the constructors of the thread class Thread API .
I agree. Here's the link: http://aspose.com/file-tools
subject: Thread, Runnable interface, simple question
jQuery in Action, 3rd edition