haitao: c++支持缺省参数 [阅读: 518] 2007-03-12 08:38:14 public A(int x=0) { // xxx } 就行了,不用再写一个 public A() : A(0) { } 不知道java是否支持