Jump to content

Java Programming/Keywords/interface

From Wikibooks, open books for an open world

interface is a Java keyword. It starts the declaration of a Java Interface.

For example:

Computer code
public interface SampleInterface
{
   public void method1();
   //...
}

See also: