下列数组的初始化正确的是( )。 A. int score = { 90, 12, 34 , 77, 56}; B. int[ ] score = new int[5]; C. int[ ] score = new int[5] { 90, 12, 34 , 77, 56}; D. int score[ ] = new int[]{ 90, 12, 34 , 77, 56};
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】Valentine's Day is a festival of romance and affection. The holiday is an interesting combination of pagan (异教徒的) and Christian influences. Some of the day's customs probably came from an ancient Roma...
【简答题】A. What do you think of the actress? B. Have you ever seen the movie? C. When did you see it? D. No, of course not. E. It is one of the most fantastic movies I have ever seen. A: Hi, Nancy. What's you...