H07000223 发表于 2012-3-25 13:54 原因就是: super(x, y);//这一步地时候color值还没传进去,值为空,却要调用makeName()方法 this.color = ...
了无尘 发表于 2012-3-25 14:35 他那个name的声明。。。还有那个toString的声明。。。还有。。。如果都不改的话,保持原样想输出正确的, ...
H07000223 发表于 2012-3-25 14:54 我是改不了,那些声明纯属多余,还全是final,改的蛋疼。。。