常量池引用被与指向内部数据结构的指针取代,成功的或者某种工作方式会被一种简单的形式替代。
Constant pool references are replaced with Pointers to internal data structures, operations that always succeed or always work a certain way are replaced with simpler forms.
如果基类成员与派生类成员接受的实参不同,就没有办法通过基类类型的引用或指针调用派生类函数。
If the base member took different arguments than the derived-class member, there would be no way to call the derived function from a reference or pointer to the base type.
对象的动态类型总是与静态类型相同,这一点与引用或指针相反。
The dynamic type of an object (as opposed to a reference or pointer) is always the same as the static type of the object.
应用推荐