my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes run method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "run method" Watch "run method" New topic

run method

rex tony
Ranch Hand

Joined: Aug 29, 2007
Posts: 159
In thread class, Runnable Interface, What is the purpose of run method?
Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585

In that method, you place the logic that you want to be run in a separate thread!

Best of luck ...

Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: run method
Similar Threads
how to run a normal java program without main method
Servlet Project Plan
Why start() method
How to i invoke a method every 24 hours