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

Which is the best approach for creating thread ?

1135


Describe the term diamond problem.

970


What is used of static keyword in java?

999


What is proper subset?

915


What does this () mean in constructor chaining concept?

1052


which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3601


How does java enable high performance?

1087


Can inner class be public in java?

963


What do you mean by formatting?

937


Give us a program to check for parenthesis matching using stack.

947


Explain the Propertie sof class?

991


Explain enumeration in java?

951


Why pointers are not used in java?

1044


List some important features of java 10 release?

977


Explain differences between collection api and stream api?

1086