来源:https://stackoverflow.com/questions/63751329/is-an-object-accessible-from-a-previous-reference-after-it-has-been-upcast-in-j 标签 java oop reference upcasting