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?



What are the performance implications of interfaces over abstract classes?..

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

More Core Java Interview Questions

What are different type of access modifiers?

3 Answers  


Functionality of JVM?

7 Answers   Infosys,


What is variable length arguments in java?

0 Answers  


why Java does not support multiple inheritances?

0 Answers   Aspire,


Can we override private constructor in java?

0 Answers  


What is the relationship difference the canvas class and the graphics class?

0 Answers  


What is the benefit of singleton pattern?

0 Answers  


What is the difference between jfc & wfc?

0 Answers  


Why vector class is used?

0 Answers  


What is java in simple terms?

0 Answers  


How many threads can I run java?

0 Answers  


How does sublist works in java?

0 Answers  


Categories