Declare an interface
To declare an interface in Java use:
public interface InterfaceName {
}
or
public interface InterfaceName
{
}
Interfaces can only include constants and abstract methods. They can
not contain constructor, fields, and methods with code.
Link to this Page
- Declarations last edited on 21 March 2005 at 3:46 pm by user-11210m8.dsl.mindspring.com