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 :



3 comments:

This comment has been removed by the author.

I really appreciate your efforts. Java incorporates the feature of multithreading and thus it proves to be a language that delivers high performance applications. The platform independent nature of Java applet helps the programmers to get access of it easily.

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More