父子类转换


Father f = new Son();

Son s = (Son)f;

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