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 you use abstract and final both with a method?

1087


What is serialversionuid?

1091


What is the maximum size of arraylist in java?

1008


Explain different types of wrapper classes in java?

1024


What is difference between local variable and global variable?

1018


What if constructor is protected in java?

1122


Can an object be null?

967


Is final static java?

1011


If goto and const is reserve words than why it is not work in java?

1974


How we can declare a static variable?

1110


What is the applet security manager, and what does it provide?

996


State the main difference between c++ and java?

1088


what is collatration?

3287


What is OOP's Terms with explanation?

1187


Can static method access instance variables ?

1136