如何解決此類型的編譯錯誤。編譯錯誤:'void'類型不允許在這裏
粗體部分是顯示編譯錯誤的地方。
DegreeDays.java:71: 'void' type not allowed here
System.out.println(***"\t"***(error here) +
list(test[counter]) + "\t\t\t" +
average_temp(test[counter], test[counter - 1]));
DegreeDays.java:71: 'void' type not allowed here
System.out.println("\t" + list(test[counter]) ***+
***(error here) "\t\t\t" +
average_temp(test[counter], test[counter - 1]));
thanx的幫助... – 2011-04-19 04:38:47