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 a java list?

0 Answers  


Can an interface extend a class?

0 Answers  


What is the difference between multiple processes and multiple threads?

0 Answers  


what is difference Between Core Java and advance java

60 Answers   HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,


What is the difference between inheritance and encapsulation?

0 Answers  


briefley expalin about the packages

3 Answers  


How do you override a variable in java?

0 Answers  


diff between abstract methods and interfaces with programing (code) example?

2 Answers  


what is meta-Inf?

2 Answers   Polaris,


Advantages of Inheritance in java.

11 Answers   CybAge, HCL,


What are anonymous inner classes?

0 Answers  


Program to print 1 1 2 1 2 3 1 2 3 4 like that

8 Answers   Huawei,


Categories