Q
Qwert
Hello,
when you have a shared variable in a baseclass, and you give it a value
through an instance of a subclass, does this shared variable and its value
still exist after you destroy all instances of that subclass?
i.e:
1: create subclass object based on base class ( base class has shared
variable ).
2: give shared variable of subclass object a value.
3: destroy subclass object.
4: create new subclass object.
5: Is shared variable of new object still that value?
I tested it and it was 'yes', but I need to know for sure,
thanks.
when you have a shared variable in a baseclass, and you give it a value
through an instance of a subclass, does this shared variable and its value
still exist after you destroy all instances of that subclass?
i.e:
1: create subclass object based on base class ( base class has shared
variable ).
2: give shared variable of subclass object a value.
3: destroy subclass object.
4: create new subclass object.
5: Is shared variable of new object still that value?
I tested it and it was 'yes', but I need to know for sure,
thanks.