碰到某人错误地使用 =+而不是 +=在他们的代码中,它没有显示为编译错误.
=+
+=
这是因为
int a =+ 2;
是相同的
int a = 0 + 2;
?
java operators
java ×1
operators ×1