阅读背景:

Java:用非零元素初始化int数组

来源:互联网 

According to the JLS, an int array should be filled by zeros just after initialization. However, I am faced with a situation where it is not. Such a behavior occurs first in JDK 7u4 and also occurs in all later updates (I use 64-bit implementation). The following code throws exception: array should be fi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: