+ 2
Class objects created in different contexts, but existing for the same class - do they work with the same data or with different
Class objects created in different contexts, but existing for the same class - do they work with the same data or with different ones? However, the objects have the same name
1 Answer
+ 1
A class have properties and metods, which are common for from the class created objects. The values of properties (color: blue or red) as well methods can be but different. The class is the procedure for building of its objects. And each object disposes different space of memoryâs data. Here an example:
https://code.sololearn.com/cbwAWWo1vUn4/?ref=app