public static void main(String[] args) {
C c1 = new C(6);
C c2 = new C(new C(4));
System.out.println("c1:"+c1);
System.out.println("c2:"+c2);
}
}
class C{
int c;
C(int a){
c = 0;
for (int i = 0; i <=a; i++) {
c = c+i;
}
}
C(C b) { // 是C=new C(new C(4))吗?
c = b.c; //不明白
}
}