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 kumar baral

There is two ways for creating Thread in Java:
1.Extending Thread class

2.Implementing Runnable Interface

Second one is much more benificial than 1st one,as we can
able to avoid the overriden methods.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the benefit of oop?

999


What are the 4 main oop principles?

1157


What are the features of oop?

1087


what are the realtime excercises in C++?

2784


Why polymorphism is used in oops?

992


What is overriding vs overloading?

1004


What are oops methods?

944


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2480


Can abstract class have normal methods?

991


What is class and object with example?

1056


how to get the oracle certification? send me the answer

2100


What is polymorphism oop?

1005


What is object in oops?

1019


what is graphics

2402


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2407