
![]() |
|
Synonym of Instance method
Method (computer science)
In object-oriented programming, the term method refers to a subroutine that is exclusively associated either with a class (called class methods, static methods, or factory methods) or with an object (called instance methods). Like a procedure in procedural programming languages, a method usually consists of a sequence of statements to perform an action, a set of input parameters to customize those actions, and possibly an output value (called return value) of some kind. The purpose of methods is to provide a mechanism for accessing (for both reading and writing) the private data stored in an object or a class.
Méthode (informatique)
En programmation orientée objet En programmation orientée objet, la méthode est une fonction faisant partie de l'interface d'un objet. Dans ce cas, les méthodes sont aussi appelées des méthodes d'instance et n'agissent que sur un seul objet à la fois. D'autres méthodes, appelées méthodes de classe ou méthodes statiques, permettent d'agir sur tous les objets d'une même classe.
Metoda (programowanie obiektowe)
Metoda - w programowaniu obiektowym jest to funkcja składowa klasy, której zadaniem jest działanie na rzecz określonych elementów danej klasy lub klas z nią spokrewnionych (zob. też dziedziczenie). Metody wiąże się z klasami głównie po to, aby nie zaśmiecać kodu źródłowego i samego programu nadmierną ilością funkcji globalnych, które i tak nie zostaną użyte w celu innym, niż na rzecz konkretnej klasy. Metody mają też szerokie zastosowanie w programowaniu obiektowo orientowanym, w postaci tzw. metod wirtualnych.
Метод (языки программирования)
Метод — синоним действия, алгоритма, функции или процедуры; в объектно-ориентированном программировании — программный код, реагирующий на определенные сообщения. Различают методы класса и метакласса (или в другом толковании статические методы): первые работают с данными объекта, вторые имеют доступ только к данным класса, и общие для всех объектов данного класса.
instance method
methode van een exemplaar
instance method
metodo dell'istanza Qualsiasi metodo che viene richiamato in relazione a un'istanza di una classe. Detto anche semplicemente metodo .
instance method
Any method that is invoked with respect to an instance of a class. Also called simply a method.
instance method
metodo dell'istanza Qualsiasi metodo che viene richiamato in relazione a un'istanza di una classe. Detto anche semplicemente metodo. Vedere anche metodo di classe. | ||||||||||||||||||||||||||||||||||