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

What are the performance implications of interfaces over abstract classes?

Answer Posted / shakir

Interfaces are slower in performance as compared to abstract classes as extra indirections are required for interfaces. Another key factor for developers to take into consideration is that any class can extend only one abstract class while a class can implement many interfaces.
Use of interfaces also puts an extra burden on the developers as any time an interface is implemented in a class; developer is forced to implement each and every method of interface.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unsigned char?

1011


How do I write a self declaration?

1013


What is field name?

948


What do you mean by stack?

1090


Can a class have an interface?

918


Can we increase array size dynamically in java?

897


What the difference is between execute, execute Query, execute Update?

770


What is the difference between dom and sax parser in java?

923


Give me example of derived data types.

1086


Is static a singleton?

925


What is meant by final class?

1016


How many threads can I run java?

1039


What’s a deadlock?

1048


What is numeric function?

948


What does opcode mean?

1000