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...

while creating thread why we extend thread class

Answer Posted / jayaprasad

calling the Thread class methods like start().

Threads can be created in two ways
1) extends Thread class
2) implementing Runnable interface.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to print an arraylist in java?

999


What are Normalization Rules? Define Normalization?

979


Why java is used everywhere?

952


What is a ?

1152


How can you set the applet size?

993


How to make a read-only class in java?

1075


What is difference between equals and hashcode method?

1046


What are the skills required for core java?

948


How is abstraction implemented in java ?

919


How can the checkbox class be used to create a radio button?

979


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

1984


What all access modifiers are allowed for top class ?

1138


Difference between object and reference?

1113


Differentiate between array list and vector in java.

1062


How do I type unicode?

908