Call an object method: Difference between revisions

Content added Content deleted
(Made draft as tesk needs to explicitely state what needs to be done.)
(Flesh-put the task description.)
Line 3: Line 3:
[[Category:Encyclopedia]]
[[Category:Encyclopedia]]


In [[object-oriented programming]] method is a function associated with a particular class. Methods can be static, associated with the class itself, or instance, associated with an instance of class.
In [[object-oriented programming]] a method is a function associated with a particular class. In most forms of object oriented implementations methods can be static, associated with the class itself; or instance, associated with an instance of a class.

Show how to call a static method, and an instance method of a class.


=={{header|ActionScript}}==
=={{header|ActionScript}}==