Protocol (object-oriented programming): Difference between revisions

Content deleted Content added
m an accent less
{{R from move}}
 
(5 intermediate revisions by 3 users not shown)
Line 1:
In#REDIRECT [[Interface (object-oriented programming]] the '''interface''' of an [[object (computing)|object]] is a description of
# 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.
 
{{R cat shell|
''To be written:''
{{R from move}}
* public interface
{{nahmc|Interface (object-oriented programming)}}
* private interface
}}
* other interfaces