Jump to content

Protocol (object-oriented programming): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m an accent less
Vera Cruz (talk | contribs)
mNo edit summary
Line 1: Line 1:
In [[object-oriented programming]] the '''interface''' of an [[object (computing)|object]] is a description of
#REDIRECT [[protocol (object-oriented programming)]]
# the messages that are understood by the object,
# the arguments that these messages may be supplied with, and
# the types of the results that these messages return.
If an object-oriented programming language provides full [[encapsulation (object-oriented programming)|encapsulation]] then the interface describes the only way in which objects may be accessed by other objects.

''To be written:''
* public interface
* private interface
* other interfaces

Revision as of 14:28, 17 January 2003