父子类转换


Father f = new Son();

Son s = (Son)f;

posted on 2019-07-03 09:09  newlives  阅读(170)  评论(0)    收藏  举报