摘要:
static static修饰的属性调用的区别 package Demo04;public class Student extends Person { public static int age;//静态属性 public String name;//非静态属性 public static v 阅读全文
posted @ 2021-03-16 19:43
默默努力的路人甲
阅读(86)
评论(0)
推荐(0)
摘要:
instanceof 判断两者是否有继承关系 调用类 package Demo04;public class Application { public static void main(String[] args) { //instanceof 一条线的线性指向关系,在这条线的为true //主要 阅读全文
posted @ 2021-03-16 18:53
默默努力的路人甲
阅读(589)
评论(0)
推荐(0)

浙公网安备 33010602011771号