Java Programming/Keywords/interface

From Wikibooks, open books for an open world
< Java Programming‎ | Keywords
Jump to: navigation, search

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: