The characteristics of java polymorphic member access

Member variable: Compile look left, look left to run
static variables: Compile look left, look left running
member method: Compile look left, look to the right to run
static methods: Compile look left, look left to run

Guess you like

Origin blog.csdn.net/weixin_44182586/article/details/106465298