实现多态,必须通过指针或者引用去操作对象,如果直接操作对象,它的类型就已经为编译器所知,也就无法实现多态了。

NoSuchKey

猜你喜欢

转载自blog.csdn.net/qq_35826851/article/details/80513216