Java   View all facts   Glossary   Help
syntactic unit > definition > interface definition
Next definitionmethod definition    Updefinition    Previous definitionclass definition   

interface definition comparison table
Subject have syntax have example has definition have purpose is a subtopic of is a kind of have part
definition  A statement that reserves storage (for data) or provides implementation (for methods). Variables and Data Typessyntactic unitdeclaration
interface definition
public interface InterfaceName extends SuperInterfaces
{
InterfaceBody
}
public interface Drawable
{
public abstract Image drawImage();
public abstract Image drawImage(int height, int width);
public abstract Image drawBlackAndWhiteImage(int height, int width);
}
 to define an interfaceInterfacesdefinitioninterface declaration, interface body

Next definitionmethod definition    Updefinition    Previous definitionclass definition