Java - Advantages and disadvantages of interfaces

Advantages and disadvantages of interfaces.

Advantages :

- Interfaces are mainly used to provide polymorphic behavior.
- Interfaces function to break up the complex designs and clear the dependencies between objects.

Disadvantages :

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

What is Multithreading?
What is Multithreading? - A thread is one of the processes of an application. In multithreading, an OS allows different threads of an....
Types of Beans
Describe the types of Beans - Stateless Session Beans, Statefull Session Beans, Entity Beans......
Explain the Common use of EJB
Explain the Common use of EJB - The EJBs can be used to incorporate business logic in a web-centric application......
Post your comment