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...

what is the replacement method of stop() of thread

Answer Posted / domnic

the answer is join();
join makes your program wait till the thread upon which it
is called dies.This functionality is same as what done by
the deprecated method stop();

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between private, public, package and protected in java?

1042


What is the main use of generics in java?

991


What does next mean in java?

969


What are parameters in a method?

1104


What are the parts of a method?

982


What is variable and example?

965


Can you override static methods?

985


What is scope of a variable?

1099


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

986


How use .contains in java?

1172


What are the advantages of unicode?

1010


What restrictions are placed on method overloading in java programming?

1051


What are daemon Threads in java?

1200


What is a literal coding?

1025


What are autoboxing and unboxing? When does it occur?

951