Object Oriented Software Engineering   View all facts   Glossary   Help
subject > representation > abstraction > data abstraction > interface
Next data abstractionlink    Updata abstraction    Previous data abstractiondata type   

interface
subjectfact 
interfacecannot have any concrete methods or instance variableslink: chapter2section2.8.html#946, 2001-08-30 14:56:01.0
describes a portion of the visible behaviour of a set of objects2001-08-30 14:56:01.0
has purpose to specify a set of methods that a variety of different classes can implement polymorphicallylink: chapter2section2.8.html#947, 2001-08-30 14:56:01.0
is like a class except that it does not have any executable statements - it only contains abstract methods and class variableslink: chapter2section2.8.html#945, 2001-08-30 14:56:01.0
is a subtopic of 2.7 - Concepts that Define Object Orientation2001-08-30 14:56:01.0
is created using superclasses containing only abstract methods in some languages2001-08-30 14:56:01.0
is drawn as a small circle (like a lollipop), labelled with the name of the interface or as a class rectangle, with the expression Ğinterfaceğ at the top, and (optionally) a list of supported operations in a UML diagram2001-08-30 14:56:01.0
is implemented using the implements keyword in Java2001-08-30 14:56:01.0
is a kind of data abstraction2001-08-30 14:56:01.0
provides many of the same benefits as multiple inheritancelink: chapter2section2.8.html#937, 2001-08-30 14:56:01.0
see also interface^22001-08-30 14:56:01.0
see also interface^32001-08-30 14:56:01.0
should not be confused with generalizations2001-08-30 14:56:01.0
shows a can-be-seen-as relation between the implementing class and the interface2001-08-30 14:56:01.0
data abstractiongroups the pieces of data that describe some entity, so that programmers can manipulate that data as a unit2001-08-30 14:55:09.0
helps a programmer to cope with the complexity of data2001-08-30 14:55:09.0
hides the details of data2001-08-30 14:55:09.0

Kinds of interface :

Next data abstractionlink    Updata abstraction    Previous data abstractiondata type