File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Thread, Runnable interface, simple question" Watch "Thread, Runnable interface, simple question" New topic
Author

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: 185
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