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

Can a static class have a constructor?

0 Answers  


What is a serializable interface?

4 Answers  


What is the immediate superclass of the Dialog class?

2 Answers  


What happens to a static var that is defined within a method of a class?

0 Answers  


Can inner class be public in java?

0 Answers  


What is a nested structure?

0 Answers  


Which sorting is best in java?

0 Answers  


What is definition and declaration?

0 Answers  


What are order of precedence and associativity, and how are they used?

1 Answers  


What is default locale java?

0 Answers  


y cant i declare method like public final static show()

3 Answers  


How does arraylist size increase in java?

0 Answers  


Categories