title: Should you create an unlimited number of threads in Java?
body: <p>The program I am writing asks the user for an unlimited number of items and my program will do something with each of those items. I made my program do this over 3 threads, so it will finish faster. With the program I have now it continues to loop through checking if each thread is still running then if 1 of the 3 isn't running it creates a new one. The only reason I create a new one is that it says a thread can only be used once. Is there a better way to do this?</p>