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

Hi Friends, can you give difference between extending thread
class and implementing runnable interface.

Answer Posted / ravikiran

By extending a thread class we will be restricted to the
implementation for single class only,by implementing
Runnable interface we will get extended for implementing
more than one thread

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are exception handling keywords in java?

980


Are static members inherited to sub classes?

1098


Where pragma is used?

1001


When object is created and destroyed?

1049


Why does java doesnt suuport unsigned values?

2184


What is wrapper class example?

940


Discuss about garbage collector in Java.

1035


What is the default execution method in java?

1139


Why for each loop is used?

967


why not override thread to make a runnable? : Java thread

961


What are the java ide’s?

990


How many boolean functions are there?

926


What causes memory leaks in java?

882


What is http client in java?

1029


What is a hashmap used for?

1183