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

How define set in java?

1145


How many types of java are there?

1034


when you will synchronize a piece of your code? : Java thread

1071


What is a pattern what is an anti pattern?

1033


Which package has light weight components in java programming?

1193


What are the two ways in which thread can be created?

1107


Explain about arraylist?

1149


Is void a keyword in java?

1064


What are the advantages and disadvantages of object cloning?

1163


What are decalarations?

1180


What is a string token?

1126


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

1058


Write a java program to generate fibonacci series ?

1105


What is sorting in java?

1035


What is an inner class in java?

1023