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

What is scope & storage allocation of global and extern variables? Explain with an example

0 Answers   IBS,


What is a constructor overloading in java?

0 Answers  


what release of java technology are currently available what do they contain?

1 Answers  


What is the difference between hashset and treeset in java?

0 Answers  


Difference between local and global transaction ?

1 Answers   Accenture, iFlex,


Why does java doesnt suuport unsigned values?

0 Answers   ABC,


What is the difference between static and non-static variables?

6 Answers  


what is abstract method with example?

6 Answers   Infosys, Virtusa,


What is the super void?

0 Answers  


What is the map interface in java programming?

0 Answers  


What are the differences between forwarding () method and sendredirect() methods?

0 Answers  


What is object-oriented programming?

0 Answers  


Categories