Changes between Version 16 and Version 17 of squeak_faq


Ignore:
Timestamp:
10/14/2013 04:48:35 PM (11 years ago)
Author:
willi.mueller
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • squeak_faq

    v16 v17  
    240240
    241241    Q6. What are class instance variables?
     242   
    242243    Ans. Class instance variables are similar to class variables, except that they are created for eachsubclass of the defining class. When a class declares a class instance variable, a new variable is created for each subclass of that class. Each subclass then has its own instance of the variable and retains its own value for the variable, but each subclass has a variable with the same name. Only class methods of a class and its subclasses can refer to class instance variables; instance methods cannot.
    243244