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 / ranganathkini

1. Extending the Thread class
2. Implementing Runnable interface in a class and then
passing its reference to a new Thread.
3. Creating an anonymous class to extend the Thread class.
4. Creating an anonymous class to implement the Runnable
interface and then passing its reference to a new Thread.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I map more than one table in a cmp?

1031


Explain RMI Architecture?

1037


whats is statement and procedure

2134


What are the design considerations while making a choice between using interface and abstract class?

1018


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

4173


Is infobus easy to use?

989


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

1050


What is the difference between a static and a non-static inner class?

1090


What class is used to create Server side object ?

2178


Why do I get a duplicate name error when loading a jar file?

1079


What is abstract schema?

969


What is the diffrence between a local-tx-datasource and a xa-datasource?

996


what is an isolation level?

2710


How can I avoid validating a form before data is entered?

964


Can you control when passivation occurs?

1010