A class variable is shared between the class, its subclasses, its instances
and its subclasses instances.

An instance variable of a class is a regular instance variable (can be
accessed only by the object holding it, in this case, the class and its
subclasses have all an instance variable with potentially different objects
in it).



2015-01-07 17:40 GMT+01:00 Roberto Minelli <roberto.mine...@usi.ch>:

> Hi guys,
>
> Can anyone please quickly explain to me the difference between (1) an
> instance variable defined on the class side and (2) a class variable
> defined on the instance side?
>
> Thanks a lot!
>
> Cheers,
> Roberto
>

Reply via email to