摘要: 文章目录 版本一(子类没有各自独有的方法,所有方法都implements自接口)版本二(引入判断子类结构,这样可以调用不同子类所独有的方法)(if_instanceof (subType) superTypeVariable)说明 版本一(子类没有各自独有的方法,所有方法都implements自接口 阅读全文
posted @ 2022-06-19 00:49 xuchaoxin1375 阅读(17) 评论(0) 推荐(0)