Hello Ranchers,
Here below is a question from
Mock exam 1.The code does not compile - "nt2.run() is never reached"
2 .The code compiles and runs 3 non ending non demon threads.
3.The code compiles but runs only 1 non ending, non demon
thread.
Given answer is 3 but i was thinking it should be 2
As I understand, main() will continue with its next statements after starting the thread.so other 2 thread should run after the first one.
Please anybody can explain this??
Thanks in advance
--------
Shakunthala