Suppose i have two threads t1 and t2 are running.How the
main thread will know that the two threads t1,t2 execution
has completed?

Answer Posted / fellow java novice

use join

Is This Answer Correct ?    9 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the methods in object?

645


What access modifiers can be used for variables?

599


What do you mean by ordered and sorted in collections in java?

558


What is the difference between a method and a function in alice?

587


What is anti pattern in java?

521






Can we sort hashmap in java?

537


How does list work in java?

515


What is a class in java?

592


What is arraylist class in java?

519


Are static members inherited to sub classes?

651


Why does it take so much time to access an applet having swing components the first time?

1406


Is java a prime method?

558


Does importing a package imports its sub-packages as well in java?

564


Why java is called not pure object oriented language?

588


What is the use of pattern in java?

522