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 aggregate functions explain with examples?

1045


what r advatages of websphere? & how to deploy?

2168


What do you mean by static variable?

1056


What is string [] args?

993


Is array a class in java?

960


Is void a type?

967


What do you mean by hashing?

1091


What is purpose of keyword void?

1025


Can we create our own daemon thread?

966


What is mean by exception?

1015


What is the functionality of the stub?

1008


What is the purpose class.forname method?

946


what is a green thread? : Java thread

1004


What are different data types?

1007


How do you sort data in java?

936