aspose file tools*
The moose likes Java in General and the fly likes Is it possible to Start two threads at a  time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Is it possible to Start two threads at a  time" Watch "Is it possible to Start two threads at a  time" New topic
Author

Is it possible to Start two threads at a time

Rajendra Prakash
Ranch Hand

Joined: Sep 10, 2009
Posts: 293
Can we start two threads at a time . If so what will happen .will it throw any error
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

Yes you can start any number of threads. But you cannot start the same thread again. You could have tried a small program that would start 2 threads.


Mohamed Sanaulla | My Blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is it possible to Start two threads at a time