class Ex {
Ex() {
System.out.println("Ex,no-args");
}
Ex(int i) {
System.out.println("Ex,int");
}
}
public class Fx extends Ex {
Fx() {
super();
System.out.println("Fx,no-args");
}
Fx(int i) {
this();
System.out.println("Fx,int");
}
public static void main(String[] args) {
Fx f = new Fx(5);
}
}
慕瓜9220888
相关分类