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

Is it possible to use string in the switch case?

994


What is hasnext in java?

973


Why there is no call by reference in java?

878


Is string a class?

972


Mention the default values of all the elements of an array defined as an instance variable.

924


What is the use of java?

897


What is hashing principle in java?

974


What is a numeric digit?

1036


How do you ensure that n threads can access n resources without deadlock?

1259


What is private public protected in java?

990


Why are the methods of the math class static?

1025


What are different types of classloaders?

980


What about anonymous inner classes in java?

978


What is set and get methods in java?

930


What is a loop java?

1007