标签: java arrays final
我没有用例,但出于好奇,是否有办法在数组中最终进行个别引用?
final Integer[] intArray = new Integer[10]; // doesn't make individual references final final intArray[0] = Integer.valueOf(1); // something like this is not allowed