int类型的正负数转换时间:2025-02-13 22:03:38 int aid = -this.id; 不能直接转 必须先赋值给一个变量 int c = this.id; int a = c * (-1); this.id = a;