This topic has been archived. It cannot be replied.
-
工作学习 / 学科技术讨论 / anybody help me with Java? Thanks a lot.What is the output of the following Java code fragment?
PrintStream output = System.out;
int j = 1;
for(int i = 15; (i-j) > 5; i=i-4){
int a = i+j;
int b = 2*a;
j++;
output.printf("values of a and b are = %d,%d \n", a, b);
what does "for " mean?
-mazda(bmw);
2008-6-2
{262}
(#4480588@0)
-
for 应该是循环语句吧
-mikeli2007(mikeli2007);
2008-6-3
(#4482012@0)