1) Compilation and run but no output
2) Compilation and run with the output "Running"
3) Compile time error with complaint of no
Thread target
4) Compile time error with complaint of no access to Thread package
The answer 2 is absolutely right.
But I think the answer 1 might be right, too.
When thread's start() method is called, in theory, it registers to thread scheduler and ready to run.If I am wrong, please correct me.
Edited by Corey McGlone: Added Code Tags
[ April 04, 2003: Message edited by: Corey McGlone ]
[ April 04, 2003: Message edited by: josie chen ]