I am new to Java and am currently implementing a project which will have many threads running. I would really appreciate if someone could help me find the answer to the following:
1. How many threads can i run at the same time in Java? What is the maximum ?
2. Why are Thread.suspend() and Thread.stop() methods deprecated? Or more to the point if the stop() method is deprecated what is the non-deprecated way of terminating a thread?
Thank you in advance. Your help is much appreciated.
1. How many threads can i run at the same time in Java? What is the maximum ?
2. Why are Thread.suspend() and Thread.stop() methods deprecated? Or more to the point if the stop() method is deprecated what is the non-deprecated way of terminating a thread?
Thank you in advance. Your help is much appreciated.