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
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
please send responces......
Joined: Jul 04, 2008
Jul 08, 2008 06:06:00
Why can`t we call start() method two times on asame Thread?
Joined: May 09, 2008
Jul 08, 2008 06:50:00
It is like trying to start a Express train that is all ready running
Joined: Aug 10, 2005
Jul 08, 2008 09:36:00
Have you tried it? Do you get an error message? What is the error message?
Please copy and paste it here.
What happens if you issue a start on a thread that was previously started and has ended by exiting the run() method? Write a
program and let us know.
Jesper de Jong
Joined: Aug 16, 2005
Jul 08, 2008 12:21:00
Phatipaka, welcome to JavaRanch.
When you post a question, please
use a meaningful subject line
instead of something like "please send responces". An example of a better subject line for this topic is: "Why can't we call start() two times on a Thread?".
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 8 API documentation
Joined: Apr 09, 2008
Jul 09, 2008 04:25:00
once a thread has come out of its run() method, it is dead. You cannot invoke a dead thread again.
-Piyush Porwal (Junk box)
subject: please send responces......
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014