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 the 8 data types in java?

991


How can we find the sum of two linked lists using stack in java?

1139


What is the abstraction?

1015


How does predicate work in java?

977


What are the advantages of java?

985


Java is pass by value or pass by reference? Explain

985


What is the difference between a window and a frame in java programming?

1134


Explain about map interface in java?

992


What environment variables do I need to set on my machine in order to be able to run java programs?

1014


What happens if we don’t define serial version uid?

1025


Can classes declared using the abstract keyword cab be instantiated?

1043


Can we modify the throws clause of the superclass method while overriding it in the subclass?

1031


What is the difference between procedural and object-oriented programs?

968


Why do we create public static method in java?

1106


what is singleton in java?

1043