下列选项中, 不属于Java关键字的是()
A. extends
B. implements
C. abstract
D. include
下列代码段执行后, season的值为()int month = 3;String season = "";switch (month) { case 12: case 1: case 2: season = "winter"; break; case 3: case 4: case 5: season = "spring"; break; case 6: case 7: case 8: season = "summer"; break; case 9: case 10: case 11: season = "autumn"; break;}
A. winter
B. spring
C. summer
D. autumn
下列代码段执行后, f的值为()int x = 12, f;f = 1;for (int i = 2; i < x; i++) if (x % i == 0) f = f + i;
A. 12
B. 16
C. 15
D. 66
下列代码段执行后, n的值为()int n = 0;for (int i = 1; i <= 3; i++) for (int j = 1; j <= 2 * i - 1; j++) n++;
A. 3
B. 6
C. 9
D. 15