public class Quiz
{
String Ques[] = {"What is the Java language?",
"What is the C++ language?",
"What is the OOP language?"};
String Ans[][] = new String[3][3];
Ans[0][0] = "a"; public static void main( String args[] )
{
// Interface application = new Interface();
}
}
这个程序有错误,请问问题在哪里呢??
{
String Ques[] = {"What is the Java language?",
"What is the C++ language?",
"What is the OOP language?"};
String Ans[][] = new String[3][3];
Ans[0][0] = "a"; public static void main( String args[] )
{
// Interface application = new Interface();
}
}
这个程序有错误,请问问题在哪里呢??
把Ans[0][0] = "a";这句放到方法里面去。