單項選擇題

多態(tài)方式創(chuàng)建對象后(如Personp=newMan();//其中Man類繼承了Person類),編譯時類型看“=”哪邊?()

A.右
B.左
C.任意
D.左和右

微信掃碼免費搜題