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

If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?

Answer Posted / srinivas

by using currentThread() Method ,we can find which thread
is runing

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a function in programming?

981


Explain about assignment statement?

973


Should database connections be singleton?

924


What does the append?

939


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

896


What are thread groups?

930


What is the default value of the local variables?

956


What are loops in java? What are three types of loops?

980


What is a variable and constant?

954


What is the difference between final, finally and finalize()?

1058


What is a return in java?

975


What is the purpose of a parameter?

999


What is a databasemetadata?

898


Garbage collection in java?

949


Explain methods specific to list interface?

913