Java Programming/Keywords/interface

From Wikibooks, open books for an open world
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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: