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 to create thread in java?

Answer Posted / teja

We r creating threads in java by extending d thread class
or by implementing runnable interface.
Syntax for creaton of thread is:
Thread var=new Thread(Runnableobject,"Stringname");

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism what is it for and how is it used?

1058


What is polymorphism programming?

1175


Which type does string inherit from?

1157


Which language is not a true object oriented programming language?

1180


What is protected in oop?

1114


What is encapsulation with example?

1196


What is difference between pop and oop?

1233


What is new keyword in oops?

1099


What does enum stand for?

1184


Why we use classes in oop?

1097


what is the drawback of classical methods in oops?

3428


What is the purpose of enum?

1056


Can bst contain duplicates?

1242


What is class encapsulation?

1143


• What are the desirable attributes for memory managment?

2279