摘要: 继承 base 父类创建了构造函数时,子类要用base 里氏转换 1.子类可以复制给父类 2.如果父类中装的是子类对象,那么可以将这个父类强转成子类 is 类型转换 成功true 错误false as 成功直接返回对象 错误返回null Array List集合 list. Add list. Ad 阅读全文
posted @ 2021-05-25 10:47 ganph 阅读(73) 评论(0) 推荐(0)