Programming Tutorials

Comment on Tutorial - isAlive() and join() in Java By Ivan Lim



Comment Added by : abc123

Comment Added at : 2011-04-03 13:33:33

Comment on Tutorial : isAlive() and join() in Java By Ivan Lim
as we write:
ob1.t.join();
Does t refer to main thread?
or if we write:
ob1.join();
which thread will ob1 wait for end?
if we want it wait for ob2 is ther any usage like:
ob1.ob2.join();
Thanks.


View Tutorial