Content deleted Content added
→Interfaces in practice: exception specifications as part of interface |
Paul August (talk | contribs) m →Uses of interfaces: fix link |
||
Line 7:
== Uses of interfaces ==
The concept of interface is the cornerstone of [[
Some object-oriented programming languages mandate that the interface to the object be specified to the compiler separately from the implementation of that object, whilst others relax the requirement. For example, a class in a programming languages such as [[Objective-C]] consists of its interface, specified in a header file, and the implementation in the source file. Because of the [[dynamic typing|dynamically typed]] nature of Objective-C, one can send messages to any object, and the interface to the class becomes important as it specifies the methods the class responds to.
|