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