2024年4月29日

摘要: package fangfachongxie; public class A extends B{ @Override //重写 //注解:有功能的注释! public void test() { System.out.println("A>=test()"); } } package fangfa 阅读全文
posted @ 2024-04-29 15:17 anonymity。 阅读(13) 评论(0) 推荐(0)
 
摘要: package duotai; public class Person { public void run(){ System.out.println("run") ; } } package duotai; public class Student extends Person { @Overri 阅读全文
posted @ 2024-04-29 15:16 anonymity。 阅读(16) 评论(0) 推荐(0)