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

why Runnable interface is preferable than extending the
Thread class?

Answer Posted / susheeel

Many Java programmers feel that classes should be extended
only when they are enhanced or modified in some way.So,if
you will not be overriding any of Thread's other methods,it
is probably best simply to implement Runnable.

Is This Answer Correct ?    32 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you replace all in word?

1068


What are abstract methods in java?

1124


How we can generate random numbers in java?

1134


What is the size of a string in java?

1015


How do I get 64 bit java?

1118


What is mnemonic code?

1023


What is a singleton factory?

956


what is object-oriented programming in java?

1058


When would you use a static class?

986


What is the integer of 16?

976


What does += mean coding?

939


What is null object in java?

1017


Can an object subclass another object?

1118


Explain an algorithm to find depth of a binary tree.

1044


What is boolean keyword in java?

1131