String Methods Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Length

A

finds how many characters are in a string, 1 longer than the index

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

compareTo()

A

Returns a negative number if the first word comes before the second word alphabetically, positive if second word is first, zero if the same word

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

concatenate

A

Putting together Strings and variables with +

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