body of a loop - The single statement or a block of statements that can be repeated (a loop may not execute at all if the condition is false to start with). In Java the body of the loop is either the first statement following a while or for loop is the body of the loop or a block of statements enclosed in { and }., for loop - A loop that has a header with 3 optional parts: initialization, condition, and change. It does the initialization one time before the body of the loop executes, executes the body of the loop if the condition is true, and executes the change after the body of the loop executes before checking the condition again., for each loop - Used to loop through all the elements of a collection (like a list or an array) and each time through the loop set a variable to the next item from the collection, infinite loop - A loop that never ends., loop - A way to repeat one or more statements in a program., nested loop - One loop inside of another., out of bounds error - A run-time error that occurs when you try to access past the end of a string or list in a loop., trace code - Writing down the values of the variables and how they change each time the body of the loop executes., while loop - A loop that repeats while a Boolean expression is true., System.out.println(variable) - used to print the value of the variable. This is useful in tracing the execution of code and when debugging.,
0%
Chapter 7
共享
共享
共享
由
Ldonlan
G9
G10
G11
G12
CS
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
匹配游戏
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?