Saturday 5 November 2016

Why Interface in Java ?

Ans:

1. Support the functionality of multiple inheritance.

2. Achieve fully abstraction.

3. Achieve loose coupling, which is the biggest advantage of interface.

No comments:

Post a Comment