下列数组初始化语句哪些是正确的( )? A. int [] nums = new int[]{0,1,2,3,4}; B. int [] nums2 = {0,1,2,3,4,5}; C. int [] [] num_1 = {new int[]{0,1},new int[]{0,1,2},new int[]{0,1,2,3}}; D. int [] [] num_2 = {{0,1},{0,1,2},{0,1,2,3}};
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】听力原文:M: Good morning! What can I do for you, Madam? W: Good morning ! I' m looking for a coat. M: What color would you like? W: Could you show me some? I'd like a middle-sized red coat. M: Sorry. We h...
【简答题】阅读理解。 Kitty: Good morning! Peter: Good morning! What’s your name, please? Kitty: My name is Kitty. And you? Peter: I’m Peter. Kitty: Nice to meet you! Peter: Nice to meet you, too. What class are you ...
【单选题】听力原文:M: Good morning! What can I do for you, Madam? W: Good morning! I'm looking for a coat. M: What color would you like? W: Could you show me some? I'd like a middle sized red coat. M: Sorry. We hav...