A Way For Learning

Interface

No comments
Interface:

  • blueprint of a class.
  • static constants and abstract methods only.
  • mechanism to achieve fully abstraction
  • Java Interface also represents IS-A relationship.
  • By interface, we can support the functionality of multiple inheritance.
  • It can be used to achieve loose coupling.
  • Class implements interface
  • interface extends interface

No comments :

Post a Comment