Unit 3 Flashcards

1
Q

the String methods do not change the String object

A

Immutable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

joined together

A

Concatenation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

start with a \ and have a special meaning in Java

A

Escape Sequences

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

used when a set of instructions needs to be repeated a set number of times or until a certain condition is met.

A

Iteration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Java construct used to repeat a set of instructions a set number of times

A

For loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

occurs when the iteration statement loops one time too many or one time too few

A

“off by one” error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Java construct used to repeat a set of instructions until a certain condition is met

A

While loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

occurs when the Boolean expression always evaluates to true

A

Infinite loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

iteration statements that appear in the body of another iteration statement

A

Nested Iteration Statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly