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

How do you find the independent variable?

0 Answers  


What is bifunction in java?

0 Answers  


Is heap stored in ram?

0 Answers  


What are the new features in java 8? Explain

0 Answers  


What is meant by event handling?

2 Answers  


What is a modifier?

1 Answers  


What is the use of pattern in java?

0 Answers  


Can we create object of inner class in java?

0 Answers  


Can you make a constructor final?

0 Answers  


what is web.xml?and its use?

7 Answers   CTS,


Can you pass by reference in java?

0 Answers  


How is a variable stored in memory?

0 Answers  


Categories