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

Is array serializable java?

0 Answers  


Can applet in different page/s communicate with each other?

1 Answers  


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

0 Answers  


Why is the type for real numbers called double?

0 Answers  


State some advantages of java?

0 Answers  


What is array list in java?

0 Answers  


What are the observer and observable classes?

1 Answers  


Why operator overloading is not in Java?

0 Answers  


What are pass by reference and pass by value?

0 Answers  


What is an inner class in java?

0 Answers  


What is substring of a string?

1 Answers  


What is meant by overloading?

0 Answers  


Categories