|
When the child class is instantiated, the parent class and child class are loaded, the variables of the parent class and the child class are initialized, and the constructor methods of the parent class and the child class are called, so that a parent class is instantiated? Then the instantiation ends, the parent object becomes garbage?
I'm not sure, you guys have helped a lot. Thank you. |
|