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.

Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.