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
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:
subject: best way to create a thread
thread killing from seperate thread
thread safe singleton class
How can I really stop/kill a thread?
update a JList based on an Array
Where can i find the mock exam?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015