• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Several questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Several questions


  • Subject: Re: Several questions
  • From: "John C. Randolph" <email@hidden>
  • Date: Fri, 6 Jul 2001 17:16:32 -0700

On Friday, July 6, 2001, at 02:08 PM, Don Messerli wrote:

An instance method has access to the instance data of an instantiated
object. This is the same as a member function in C++.

A class method does not have access to any instance data since it doesn't
belong to a particular object. There is no "self". This is the same as a
static member function in C++.

Not quite correct. There is indeed a "self" in the context of a class method, but "self" in this case is the Class, not an instance thereof.

-jcr

I almost had a psychic girlfriend, but she left me before we met. -- Steven Wright


References: 
 >Re: Several questions (From: Don Messerli <email@hidden>)

  • Prev by Date: Re: XP / freeze-drying sessions in OS X
  • Next by Date: Re: optimization time !
  • Previous by thread: Re: Several questions
  • Next by thread: Re: Several questions
  • Index(es):
    • Date
    • Thread