這個到底哪里錯了,求解答
到底哪里錯了? public class HelloWorld { ? ?public static void main(String[] args) { ? ?// 定義一個數組,保存五名學生的成績 int[] scores = { 78, 93, 97, 84, 63 }; // 輸出數組中的第二個成績 ? ?System.out.println("數組中的第2個成績為:" +scores[1] ); } }
到底哪里錯了? public class HelloWorld { ? ?public static void main(String[] args) { ? ?// 定義一個數組,保存五名學生的成績 int[] scores = { 78, 93, 97, 84, 63 }; // 輸出數組中的第二個成績 ? ?System.out.println("數組中的第2個成績為:" +scores[1] ); } }
2016-06-15
舉報
2016-06-27
沒有錯,沒通過是因為網站的原因。多等一會,多提交幾次就好了
2016-06-15
沒有錯啊,
package com.imooc;
public class test {
public static void main(String[] args) { ? ?
// 定義一個數組,保存五名學生的成績?
int[] scores = { 78, 93, 97, 84, 63 };?
// 輸出數組中的第二個成績 ? ?
System.out.println("數組中的第2個成績為:" +scores[1] );?
}
}