This complication is necessary to allow immutable objects to store references to arrays, since the Java language has no way to enforce that elements of final arrays are not modified.

 
  • 为允许不变对象存储对数组的引用,这种复杂性是必要的,因为Java语言没有办法强制不对final数组的元素进行修改。
今日热词
目录 附录 查词历史