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 and I oop mean?

1122


Why is object oriented programming so hard?

1029


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1910


What is abstraction and encapsulation?

948


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6629


State what is encapsulation and friend function?

1197


What are the 4 pillars of oop?

1098


What is class and example?

1104


What is oops and why we use oops?

995


What is class in oop with example?

1049


What is multilevel inheritance explain with example?

1094


program for insertion ,deletion,sorting in double link list

2648


c++ program to swap the objects of two different classes

2364


What is destructor example?

995


Explain the advantages of inheritance.

1083