控制流 / 循环
"for"循环
"for-in"循环
"while"循环
"do-while"循环
无限循环
int
sum10 =
0
;
for
(
int
i =
1
; i <=
10
; i++) {
sum10 += i;
}
//sum10 is 55