Not Really!

Thanks for the first answers!

Can anyone explain the following questions:

10.When the following code is executed what is the next value assigned
to
count after the break statement
is executed?

for(int count = 0,count < 5;count++) {
if(count < 1);
count = 1;
while(count < 4) {
if(count<2) {
break;
count = 3;
}
count = 4;
}
count = 5;
}
count = 6;

11..The following code produces which sequence of numbers?

boolean t;
int a = 0;
int b = 1;
int c = 1;
for(int n = 0; a < 25; n++) {
t = false;
for (int j = a ; j < a + 4; j++) {
if (a%2==0) t = true;
if (t) system.out.println(j);
}
c = a;
a = b;
b = c+b;
}

can some explain how they got the sequence of numbers : 0,1,2,3,2,3,4,5,8,9,10,11
?

17/18.Can anyone explain the following terms

a lexical error
a syntax error
a compile-time semantic error
a logic error
a run-time error


Andy