interface in java | Java Tutorial

This Java Tutorial “interface in java” page is providing introduction to interfaces including definition, functionality and about implements keyword in java application.



  • Complete definition of Object(100%)
  • (Only Concrete methods are allowed)

Abstract class:

  • Partial definition of Object(…..%)
  • (Both Concrete & Abstract methods are allowed)


  • Complete specification(declaration) of Object (0%)
  • (Only abstract methods are allowed)


  • ‘interface’ is a pre-defined modifier is used to define set of specifications.
  • ‘interface’ definition allows only abstract methods.


  • By default interface methods are “public & abstract”


  • We can check compiler added code as follows:


Share this