File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Threads and Synchronization
best way to create a thread
Joined: May 24, 2010
Sep 01, 2010 00:22:22
what is the best way to ceate a thread extending thread class or implementing runnable?
Prabhakar Reddy Bokka
Joined: Jul 26, 2005
Sep 01, 2010 00:40:51
Implementing runnable is the best way since you will get a chance to extend other class.
When you are working with AWT/Swing you must have to do this using runnable.
Otherwise it doesn't make much difference.
SCJP 5, SCWCD 5
Joined: Oct 14, 2008
Sep 01, 2010 00:59:52
are more functional alternatives than
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: best way to create a thread
thread killing from seperate thread
Where can i find the mock exam?
update a JList based on an Array
How can I really stop/kill a thread?
thread safe singleton class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013