Donate SIGN UP

Programming Languages

Avatar Image
Mike | 17:59 Mon 11th Feb 2002 | Technology
3 Answers
What is Self?
Gravatar

Answers

1 to 3 of 3rss feed

Best Answer

No best answer has yet been selected by Mike. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
"Self" is used, in Object Oriented programming theory, to refer inside an object to itself. So if a class is CApple then if an object were a pippin (of that class), then to invoke a method of that object when inside the object you can say that you are invoking a call to self. In C++, self equates to the "this" pointer.
Oh yes, and it's a whacky OO programming language (not used it myself but is a step beyond SmallTalk). See http://research.sun.com/self/language.html
-- answer removed --

1 to 3 of 3rss feed

Do you know the answer?

Programming Languages

Answer Question >>