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 is the difference between the session.get() method and the session.load() method?

1084


how to use debug in my elipse to solve problems that exist in my project

2282


we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?

2420


Can I use multiple html form elements with the same name?

1056


Do I need to import javlang package any time? Why ?

1089


Do I have to use jsps with my application?

1023


Is it possible to stop the execution of a method before completion in a sessionbean?

1091


Difference between loadclass and class.forname?

1053


How are commas used in the intialization and iteration parts of a for statement?

1097


What is ioc concept & explain it?

1084


Explain the different types of memory used by jvm?

1146


What is the difference between RMI and Corba?

2749


Difference between DurableSubscription and non- DurableSubscription?

2196


What you mean by COM and DCOM?

1062


why static class in java

1771