摘要: instanceof Object object = new Student(); System.out.println(object instanceof Student); //true System.out.println(object instanceof Person); //true S 阅读全文
posted @ 2022-10-17 21:45 似水似眷 阅读(42) 评论(0) 推荐(0)
摘要: java多态 阅读全文
posted @ 2022-10-17 20:56 似水似眷 阅读(41) 评论(0) 推荐(0)