Content deleted Content added
TakuyaMurata (talk | contribs) make a new article |
Derek Ross (talk | contribs) m wording |
||
Line 1:
A '''method''' is a special kind of subprogram belonging to a [[class (computer science)|class]].
An '''instance method''' is a method invoked with respect to an [[instance]] of a [[class (computer science)|class]]. Instance methods are often used to examine or modify the [[state]] of a particular [[object (computer science)|object]]. In [[Java programming language|Java]] and [[C Plus Plus|C++]], '''constructors''' are instance methods which have the same name as their class. In typical implementations, instance methods take a hidden reference to the object they belong to.
In contrast to
An '''abstract method''' is a [[method]] which has no [[implementation]]. It is used to make a place-holder to be overriden later.
|