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

Can you call one constructor from another if a class has multiple constructors?

1038


What are the different access modifiers available in java?

1045


Explain access modifiers in java.

1043


What are the core java topics?

1053


Is java a software?

958


What is meant by final class?

1119


Is it possible for a yielded thread to get chance for its execution again?

943


How can we run a java program without making any object?

1045


Can we have multiple classes in a single file?

983


What are the java ide’s?

1028


Which method returns the length of a string?

1041


What is use of valueof () in java?

1053


Why is string buffer better than string ?

1125


Explain tree set and its features?

1056


What is an image buffer?

997