Unit 3 Flashcards
the String methods do not change the String object
Immutable
joined together
Concatenation
start with a \ and have a special meaning in Java
Escape Sequences
used when a set of instructions needs to be repeated a set number of times or until a certain condition is met.
Iteration
Java construct used to repeat a set of instructions a set number of times
For loop
occurs when the iteration statement loops one time too many or one time too few
“off by one” error
Java construct used to repeat a set of instructions until a certain condition is met
While loop
occurs when the Boolean expression always evaluates to true
Infinite loop
iteration statements that appear in the body of another iteration statement
Nested Iteration Statements