Method (computer programming): Difference between revisions

Content deleted Content added
Fredrik (talk | contribs)
m acess -> access
m disambiguate function
Line 1:
In [[computer science]], a '''method''' is a [[subroutine|function]] or [[subroutine]] that is associated with a [[class (computer science)|class]] in [[object-oriented programming]]. Like a function in procedural languages, it may contain a set of program statements that perform an action, and (in most [[computer language]]s) can take a set of input arguments and can return some kind of result.
 
Whereas a [[C]] [[programmer]] might push a value onto a [[stack_(software)|Stack]] data-structure by calling: