首页题库练习题目详情
Java语言程序设计单选题中等

以下哪条语句属于Java一维数组的正确初始化表达式?

Anew int[5];
Bint[5] arr = new int[5];
Cint[] arr = new int[5];
Dint[] arr = {1,2,3,4,5};