display | more...

In Object Oriented Programming, a method that perform some operation in some object instance. Such a method is said to receive an implicit parameter: a reference of the instance. This reference is called this in C++/Java and self in Smalltalk and Objective C

All methods are by default instance methods. But when you add the C++/Java "static" modifier, or prefix the declaration with a plus sign, you get a class method instead.

Log in or register to write something here or to contact authors.