Which of the following initializer lists would correctly set the elements of array n? ( )
A、int[] n = {1, 2, 3, 4, 5};
B、array n[int] = {1, 2, 3, 4, 5};
C、int n[5] = {1; 2; 3; 4; 5};
D、int n = new int(1, 2, 3, 4, 5);
发布时间:2025-06-24 08:17:46