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


how can i kill thread without stop() and destroy()



how can i kill thread without stop() and destroy()..

Answer / ganesh slv

Hey..

{
Thread t = new Thread (this); // or may be in some other ways
t.start (); // starting the thread.

// some codes here

// Now you can stop you thread by assigning null to the
thread

t = null;
}

Is This Answer Correct ?    6 Yes 7 No

Post New Answer

More Core Java Interview Questions

When should you use arraylist and when should you use linkedlist?

0 Answers  


Explain the difference between jvm and jre?

0 Answers  


what is hashmap& hashtable with example?

1 Answers   CTS,


What is the exact difference in between Unicast and Multicast object? Where will it be used?

0 Answers  


How to declare objects of a class ?

0 Answers   Akamai Technologies,


why abstract class will have a constructor?

4 Answers  


What is the point of polymorphism java?

0 Answers  


What is the epoch date?

0 Answers  


Can a private method of a superclass be declared within a subclass?

0 Answers  


What is palindrome in java?

0 Answers  


Why null value is used in string?

0 Answers  


Can you override a private or static method in java?

1 Answers  


Categories