62,616
社区成员
发帖
与我相关
我的任务
分享
package test;
public class father {
public father(){
System.out.println(this.getClass().getName());
}
}
package test;
public class child extends father {
public static void main(String[] args){
child c1 = new child();
}
}