Java Interfaces Advantages and Disadvantages

Advantages:
 
1) through interfaces we can implement multiple inheritance in java.

2) Interfaces function to break up the complex designs and clear the dependencies between objects.
3) Interfaces makes your application loosely coupled.
 

Disadvantages:
 
1) Java interfaces are slower and more limited than other ones.
2) Interface should be used multiple number of times else there is hardly any use of having them

People who read this post also read :



1 comments:

This comment has been removed by the author.

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More