[Java] Those things behind inheritance---Basic principles of deep-rooted inheritance | class loading, subclass object creation, method call, variable access

insert image description here

insert image description here
After learning inheritance and polymorphism
, in this section, a simple example will be used to conceptually introduce the principle (the actual implementation details are different from this), so as to better grasp inheritance clearly!

Guess you like

Origin blog.csdn.net/Yaoyao2024/article/details/128933107