![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Once you have saved your definition of the
Vegetable
class, the variables defined in the class appear in the
variables window, which lies just under the instanceobject
window:
Note that the variables window shows not only the variables defined in the
Vegetables
class, but also all the variables that appear in
superclasses. In the figure, for example, you see a hint that variables are
defined for the Object
class. The particular variable that you see
part of, Dependents
, happens to be a class variable. You learn
about class variables in Chaptermissing reference.