|
|
1. Do attributes have to be associated with private fields?
Yes,
2. After the object is created, does the attribute occupy memory space?
Of course, the property sets the method of saving or reading the private field.
The compiler actually compiles it into a special method
Called |
|