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

Their are specifically two different approaches to create
threads in Java:
1.By Extending thread class.
2.By Implementing runnable interface.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do while loop is used?

974


Why is polymorphism needed?

1001


How to call a non virtual function in the derived class by using base class pointer

6419


Why is there no multiple inheritance?

952


What is the real life example of polymorphism?

1111


What is the importance of oop?

1038


What are oops functions?

961


What is object in oops?

1021


What is for loop and its syntax?

1034


How do you define a class in oop?

1059


Where is pseudocode used?

1028


What is coupling in oop?

968


What are two types of polymorphism?

1013


What is abstraction encapsulation?

1059


What is super in oop?

1087