求help
String[] hobbys={"sports","game","movie"}; System.out.println("循环输出数组中元素的值:"); for (int i=0;i<hobbys.length;i++){ System.out.println(hobbys[i]); } 在eclipse都正确,在这里提示: error: reached end of file while parsing } ^ 1 error。真心看不懂哪里错了???
String[] hobbys={"sports","game","movie"}; System.out.println("循环输出数组中元素的值:"); for (int i=0;i<hobbys.length;i++){ System.out.println(hobbys[i]); } 在eclipse都正确,在这里提示: error: reached end of file while parsing } ^ 1 error。真心看不懂哪里错了???
2015-05-06
举报