Interface
From CSSEMediaWiki
(Difference between revisions)
m (Reverted edits by Ebybymic (Talk); changed back to last version by Matthew Harward) |
|||
Line 1: | Line 1: | ||
− | + | In general computer science terms, an interface is form of abstraction that is a specific construct designed to give external access to a program. This term gains a more specific meaning in OO programming. | |
An interface is a way of separating the abstract declaration of a concept from its implementation. This is conceptually similar to an [[Abstract class]]. | An interface is a way of separating the abstract declaration of a concept from its implementation. This is conceptually similar to an [[Abstract class]]. | ||
Line 6: | Line 6: | ||
[[Category: Nomenclature]] | [[Category: Nomenclature]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 03:21, 25 November 2010
In general computer science terms, an interface is form of abstraction that is a specific construct designed to give external access to a program. This term gains a more specific meaning in OO programming.
An interface is a way of separating the abstract declaration of a concept from its implementation. This is conceptually similar to an Abstract class.
Nomenclature | |
---|---|
Techniques: Abstraction | Aggregation versus Composition | Association versus Dependency | Coupling | Encapsulation | Information hiding | Inheritance | Multiple Inheritance | Overloading | Polymorphism
Features: Abstract class | Class versus Object | Component versus Module | Instance | Interface | Method | Package versus Namespace | Superclass | Subclass |