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

What is a singleton puppy?

940


How do you declare a variable?

1058


What do you mean by hashing?

1061


how to create constants in java?

1050


Is the empty set a singleton?

929


What is the size of a string in java?

951


What is the difference between hashmap and hashtable? What is an interface?

1095


Is java a software?

907


What is pre increment and post increment in java?

956


What are some examples of variable costs?

906


What is Classloader in Java?

1152


What is supplier in java?

970


How strings are created in java?

986


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

1015


What is the use of protected in java?

990