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

interface definition
subjectfact 
interface definitionhas example
public interface Drawable
{
public abstract Image drawImage();
public abstract Image drawImage(int height, int width);
public abstract Image drawBlackAndWhiteImage(int height, int width);
}
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:37:01.0
has part interface declaration, interface bodysource: Sun Java Tutorial, 2001-10-19 11:37:01.0
has purpose to define an interface2001-10-19 11:37:01.0
has syntax
public interface InterfaceName extends SuperInterfaces
{
InterfaceBody
}
added by: JK, source: Sun Java Tutorial, 2001-10-19 11:37:01.0
is a subtopic of Interfaces2001-10-19 11:37:01.0
is a kind of definitionadded by: JK, 2001-10-19 11:37:01.0
definitioncauses a compiler to set aside memory at compile time2001-10-19 11:36:37.0
syntactic unithas syntax rule
bold = mandatory
italic = non-terminal
normal font = optional
2001-10-19 11:38:04.0