以下代码的运行结果为: public class Calc { public static void main (String args []) { int total = 0; for (int i = 0, j = 10; total > 30; ++i, --j) { System.out.println(" i = " + i + " : j = " + j); total += (i + j); } System.out.println("Total " + total); } }
A.
产生运行错误
B.
产生编译错误
C.
输出 "Total 0"
D.
产生如下输出 : i = 0 : j = 10 i = 1 : j = 9 i = 2 : j = 8 Total 30