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

Why synchronization is important?

1073


Define locale.

1096


What if constructor is protected in java?

1198


What are the different types of garbage collectors in java?

1206


What is stack class in java?

1097


Is array synchronized in java?

1084


Explain the JDB in depth & command line.

1064


Explain what is Marker interface?

1135


why we use merge option in hybernate pls give a ex snippet

2030


What is return data type?

1060


How do you define a singleton class?

1156


Why we used vector class?

1115


What is the purpose of using javap?

1156


What is main function purpose?

1079


Can a class be private in java?

1044