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 / rameshkrishna

imolimen Runnabule inerface and extends Thread functionally
both are same.But implimenting RunnebleInterface more
advantage because of there is possibility extends more then
one class and also we can override run() only once.

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can there be an abstract method without an abstract class?

963


What type of language is java?

1007


Can we create our own wrapper class in java?

978


Can you override a final method?

1039


What is private public protected in java?

1041


Explain the difference between throw and throws in java?

1010


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

1246


How do you use compareto in java?

975


Is 0 a real number?

1050


What is unicode with example?

1222


Which methods are used during serialization and deserialization process?

995


What is purpose of find feature?

1084


What is classes in java?

947


How is Object Oriented Programming different from Procedure Oriented Programming?

1052


How can we avoid including a header more than once?

1041