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

Is array a class in java?

0 Answers  


Explain how can you debug the Java code?

0 Answers   BirlaSoft,


When will we use them?

0 Answers  


What do you know about the garbate collector?

0 Answers  


What is a parameter in java?

0 Answers  


How many ways can an argument be passed to a subroutine?

3 Answers   Technological University of the Philippines,


Why do we use return statement?

0 Answers  


What is linkedlist in java?

0 Answers  


as we know a static method could access static data and static method only. then how could main method call the object of aclass which is not static and other non static data

1 Answers  


Does anyone still use java?

0 Answers  


What are the parameters used in Connection pooling?

1 Answers   IBM,


If you are given the name of the function at run time how will you invoke the function?

0 Answers   Adobe, Yahoo,


Categories