请在 下方输入 要搜索的题目:

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
推荐参考答案 ( 由 快搜搜题库 官方老师解答 )
联系客服
答案:int[] n = {1, 2, 3, 4, 5};
专业技术学习
专业技术学习
搜搜题库系统