Protocol (object-oriented programming): Difference between revisions

Content deleted Content added
stub
 
{{R from move}}
 
(6 intermediate revisions by 4 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