We
need interface due to the followings:
1.
It supports the functionality of
multiple inheritance
2.
It achieves the concept of loose
coupling which is the main advantage of interface
3.
It achieves 100% concept of abstraction,
because interface must contain abstract method, not normal method.
No comments:
Post a Comment