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 / rahul madanan

There are two methods to create thread in java :
(1). By extending the Thread class.
(2). By implementing the Runnable interface.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops concept with example?

1009


What is the point of polymorphism?

1030


What is destructor example?

1040


What are the benefits of oop?

1241


How do you achieve runtime polymorphism?

1044


What does no cap mean?

1055


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2585


Why is abstraction used?

1087


Why do we need oop?

1178


What is for loop and its syntax?

1075


What is abstraction in oops?

1041


Which language is not a true object oriented programming language?

1125


What is pure oop?

1090


What is object in oops?

1052


What is multilevel inheritance?

1195