Why the parent class reference can point to a subclass reference to subclass object can not point to the parent class object generics

NoSuchKey

Guess you like

Origin www.cnblogs.com/skyblue123/p/12610641.html