Threads for Beginners
-
I'm teaching myself Java with one of the "Teach Yourself Java..." books, and I'm up to the chapter on Threads. I want to be sure I understand the concept properly. Is it safe to say that first you start the thread which then calls the run() method which houses the actual method you want to be threaded? Please let me know if I have this concept correct. Thanks Dre---
-
I'm teaching myself Java with one of the "Teach Yourself Java..." books, and I'm up to the chapter on Threads. I want to be sure I understand the concept properly. Is it safe to say that first you start the thread which then calls the run() method which houses the actual method you want to be threaded? Please let me know if I have this concept correct. Thanks Dre---
correct. :)
Luc Pattyn [My Articles] Nil Volentibus Arduum