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

In howmany ways a thread can be created?

Answer Posted / rajshekhar

There are 2 ways to create a thread
1.By extending thread class
2.and the second one is by implementing runnable
interface.among the two the second one is more common and
better to use.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are RemoteObjects?

2718


What is a clone?

1035


How task's priority is used in scheduling?

2285


What restrictions are placed on the values of each case of a switch statement?

999


What’s jboss cache in short?

1098


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2982


What is a policy?

2286


What do you need to set-up a cluster with jboss?

1062


What is Remote Server?

2184


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

1038


What is aop(assepct oriented programing)?

1036


How to implement RMI in Java?

2862


Why a component architecture for the java platform?

1188


Why are my checkboxes not being set from on to off?

1127


What is TL and its use?

2449