Because the calculation above is performed in an unchecked block, the fact that the result is too large for an integer is ignored, and val is assigned the value -2.

  • 因为上面的计算在unchecked块中执行,所以结果对于整数来说太大这一事实被忽略,并且val被赋予值-2。
目录 查词历史