day11 object-oriented programming

1. Inheritance Subclass Object Creation Process Principle: First father, then son 1) Check in the Method Zone whether templates for all classes in the inheritance system of the class to which the object to be created have been loaded 2) If not loaded, all class templates are loaded by the class loader in order from parent to child 3) If al ...

Added by Ghostgator on Fri, 03 Sep 2021 19:26:42 +0300