Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / satishkumar vishwakarma

with the help of isAlive() and join() method.
The isAlive returns true when threads are running and
join() will wait till the execution get completed.

Is This Answer Correct ?    58 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is bmg file and how to create that files?what will it contailn?

2350


What is a substitution variable?

1023


How do you do exponents in java?

1049


What is the difference between overriding and overloading in OOPS.

1158


What are void pointers?

1296


What is the difference between the final method and abstract method?

1041


Explain creating threads by implementing runnable class?

1165


How many classes can any class inherit java?

968


What is meant by anonymous class?

1025


What are the 6 functions?

970


What do you understand by the term string pool?

1009


Give me an example of array and linked list? Where they can be used?

1005


What is the use of keywords in java?

980


What is set in java?

1043


What are peerless components?

1085