int aid = -this.id; 不能直接转 必须先赋值给一个变量
int c = this.id;
int a = c * (-1);
this.id = a;

相关文章:

  • 2021-07-29
  • 2021-08-18
  • 2021-09-13
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
猜你喜欢
  • 2021-06-17
  • 2022-01-18
  • 2022-02-16
  • 2022-01-18
  • 2021-11-04
  • 2021-12-27
相关资源
相似解决方案