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 the static method?

1070


How do singleton patterns work?

964


What is array length in java?

960


Which containers use a flowlayout as their default layout in java programming?

1008


Can a class be private in java?

992


Java.util.regex consists of which classes?

993


What is the access scope of a protected method?

1023


What is the abstract class?

1025


What is an example of declaration?

1003


what is the difference between the methods sleep() and wait()? : Java thread

962


How is tree Mirroring implemented?

1066


Can keyword be used as identifier?

957


What is your platform’s default character encoding?

1078


What are three advantages of using functions?

1005


What is the vector class in java programming?

1078