Interface in Java: Presented By: Pradnya Sadigale
Interface in Java: Presented By: Pradnya Sadigale
PRESENTED BY:
Pradnya Sadigale
An interface is like a class. It has static constants and abstract
methods.
Interfaces are declared using the interface keyword,
method signature
constant declarations (variable declarations that are declared
to be both static and final).
{
constant declarations ;
abstract method
declarations;