摘要: static abstract(抽象类) package Java学习.chen.haha.ac.dome4; //static public class student { private static int age;//静态的变量 private double score;//非静态的变量 非 阅读全文
posted @ 2021-05-03 16:35 陈诚成 阅读(74) 评论(0) 推荐(0)
摘要: 多态 instanceof 类型转换 package Java学习.chen.haha.ac.dome3; public class person { public Object eat; public void run(){//写个方法 System.out.println("run"); } } 阅读全文
posted @ 2021-05-03 15:17 陈诚成 阅读(55) 评论(0) 推荐(0)